本文主要是介绍Tomcat端口被占用:Several ports (8005, 8080, 8009) required by Tomcat v8.0 Server at localhost are already,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
Tomcat端口被占用
是个老问题了,时不时就会出现,今天又遇到了,就简单记录一下这个问题的解决方式。
启动项目报错
Several ports (8005, 8080, 8009) required by Tomcat v8.0 Server at localhost 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).
首先 win + R ,键入cmd ,再Enter
输入 netstat -ano|findstr 8080 查看8080端口的占用情况
netstat -ano|findstr 8080
再使用 taskkill /pid 9172 /f 杀掉进程即可
taskkill /pid 9172 /f
即可正常启动
这篇关于Tomcat端口被占用:Several ports (8005, 8080, 8009) required by Tomcat v8.0 Server at localhost are already的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!