這幾天正在學習的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>
可知該端口並沒有被占用,嘗試了重啟軟件、重啟電腦、更新軟件,都無法解決,迷惑!!!
代碼沒問題,修改端口就能運行了,但是用原來的端口就是不行,哪怕沒有被占用。