Springoot端口被占用-Description: Web server failed to start. Port 8081 was already in use.

思路一:找到端口号所对应的进程,然后关闭进程

1.netstat -ano | findstr   端口号

2.taskkill -PID  对应进程   -F

思路二:直接在port对应位置修改端口号为其他端口号

 

posted @ 2022-04-17 22:00  SpringChuXin  阅读(344)  评论(0编辑  收藏  举报