解决本地端口占用问题

近几天启动本地服务器老是提示端口被占用问题,如下所示:

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.

所以找到了相对应的解决方式,


1.netstat -ano|findstr 8080


后面这个4188为端口pid,下面输入4188杀死即可

2.taskkill /f /t /im 4188


你可能感兴趣的:(解决本地端口占用问题)