本文主要是介绍tomcat端口被占用无法启动_Several ports (8005, 8080, 8009) required by Tomcat v8.0,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
启动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端口被占用无法启动_Several ports (8005, 8080, 8009) required by Tomcat v8.0的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!