Several ports (8005, 8080, 8009) required by Tomcat v7.0 Server at localhost are already in use.解决办法

Several ports (8005, 8080, 8009) required by Tomcat v7.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).

image

1、在dos下,输入 netstat -ano|findstr 8080

//说明:查看占用8080端口的进程,显示占用端口的进程

image.png

2、taskkill /pid 9468 /f

//说明,运行windows自带taskkill命令,将上面显示的进程号,结束掉。

image.png

搞定

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容