启动项目报端口被占用的解决方案
问题描述:
Description:
Web server failed to start. Port 8080 was already in use.
Action:
Identify and stop the process that’s listening on port 8080 or configure this application to listen on another port.
解决方法1:
Windows环境
键盘输入(win+r),接着在运行对话框中输入“cmd”,进入命令窗口
输入
netstat -ano|findstr "端口号"
看结果的最后一列卫进程的
PID
输入
taskkill /F /pid PID号