springboot启动报错:端口占用
***************************
APPLICATION FAILED TO START
***************************
Description:
Web server failed to start. Port 10000 was already in use.
Action:
Identify and stop the process that's listening on port 10000 or configure this application to listen on another port.
解决办法1
更换配置文件中的端口,在application.yml文件中,修改端口号为其它,然后重启服务即可
标题办法2
打开带管理员的cmd窗口,先找到占用10000端口号那个进程的pid,然后杀掉他,然后重启服务即可
netstat -ano|findstr 10000
taskkill /f /pid