近幾天啟動本地服務(wù)器老是提示端口被占用問題,如下所示:
Description:
The Tomcat connector configured to listen on port 8080 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 8080, or configure this application to listen on another port.
所以找到了相對應(yīng)的解決方式,
1.netstat -ano|findstr 8080
后面這個4188為端口pid,下面輸入4188殺死即可
2.taskkill /f /t /im 4188