这几天正在学习的SpringBoot项目,突然就启动不起了,报错
***************************
APPLICATION FAILED TO START
***************************
Description:
The Tomcat connector configured to listen on port 9014 failed to start. The port may already be in use or the connector may be misconfigured.
Action:
Verify the connector's configuration, identify and stop any process that's listening on port 9014, or configure this application to listen on another port.
Process finished with exit code 1
但是通过cmd命令netstat -ano | findstr "9014"
PS C:\Windows\system32> netstat -ano | findstr 9014
PS C:\Windows\system32> netstat -ano | findstr "9014"
PS C:\Windows\system32>
可知该端口并没有被占用,尝试了重启软件、重启电脑、更新软件,都无法解决,迷惑!!!
代码没问题,修改端口就能运行了,但是用原来的端口就是不行,哪怕没有被占用。