cause
When the front end starts the project for the first time, it starts port 8080, and restarts the project after closing the project. However, port 8080 is occupied. Port 8081 is started
solution
1. Find the 8080 thread and kill it.
Open a cmd window as an administrator and enter the following command:
找出使用8080端口的pid
netstat -o -n -a | findstr :8080
kill掉目前8080端口所占用的线程
or在任务管理器中找到对应进程关闭进程就ok
taskkill /F /PID 7256