启动SpringBoot项目错误占用了8080个端口SpringBoot项目在启动时无法启动项目,并且占用了8080个端口的解决方法
文章目录SpringBoot项目启动错误8080端口被占用1、错误通知2、解决方法1 .打开cmd
一.错误消息thetomcatconnectorconfiguredtolistenonport 8080 failed to start.2、解决方法1 .打开cmd并键入netstat -ano|findstr 8080
(例) :
扼杀这些进程
输入
taskkill /f /t /im 6036
其他过程如上所述重复
解决问题
或者,写入springboot配置文件application.properties
server.port=xxxx(x (其中x是要写入的端口号) )。
可以更改服务启动端口号