您的位置:首页 > 运维架构 > Tomcat

Tomcat v7.0服务器在本地主机所需的8080端口已经被使用

2017-07-20 00:00 615 查看
摘要: Port 8080 required by Tomcat v7.0 Server at localhost is already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s).

怎么解决这个问题呢?

1、查找被8080端口(tomcat设置的端口)被占用的进程PID

netstat -aon|findstr 8080



2、Kill掉进程

taskkill /f /pid 8020

3、在杀掉进程前,可以通过pid找到实际占用的进程名称

tasklist|findstr 8020
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐