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

tomcat端口被占用无法启动_Several ports (8005, 8080, 8009) required by Tomcat v8.0

2017-02-21 17:57 381 查看
启动Tomcat服务器报错:

Several ports (8005, 8080, 8009) required by Tomcat v8.0 Server at localhost (3) are 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).



原因:端口8005, 8080, 8009被占用了。可能是在打开Tomcat的情况下关闭了Eclipse,或是Eclipse非正常关闭,导致先前的Tomcat没有被关闭,端口占用。或是其他软件占用了tomcat的端口号。

解决方法:

1.打开dos窗口,查看占用端口的进程,输入netstat -ano|findstr 8080,如图



2.kill这个进程号,输入 taskkill /pid 78788 /f,如图



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