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
即可正常启动
本文发布于:2024-01-29 11:18:34,感谢您对本站的认可!
本文链接:https://www.4u4v.net/it/170649831914902.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
留言与评论(共有 0 条评论) |