报错
Web server failed to start. Port 3000 (配置的端口号) was already in use.
Identify and stop the process that’s listening on port 3000 or configure this application to listen on another port.
方案一
任务管理器 → 详细信息 → javaw.exe → 结束任务
方案二
- WIN+R,cmd
- netstat -ano|findstr X
查询使用X端口号程序的PID
别忘了端口号前面有个空格 - taskkill -f -pid Y
按回车即可终止该进程
Y是进程的PID