Springboot项目关于本地端口号8080被占用问题解决

在运行Springboot项目时,系统报错:

The Tomcat connector configured to listen on port 8080 failed to start. 

显示8080端口被占用。

解决方法:

  1. 进入cmd,输入 netstat -ano|findstr 8080 查看8080端口被谁占用
    Springboot项目关于本地端口号8080被占用问题解决_第1张图片

  2. 把这些进程都杀死就好了。如后面这个6036为端口pid,输入代码即可

taskkill /f /t /im 6036
在这里插入图片描述

你可能感兴趣的:(springboot)