端口占用 Several ports (8005, 8080, 8009) required by Tomcat v7.0 Server at localhost are already in use

Posted 蜜桃婷婷酱

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了端口占用 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.
tomcat启动报错,端口号8080被占用
端口被占用,可以用cmd(window+R)

第一步:输入netstat -ano
在这里插入图片描述

也可以输入netstat -aon|findstr “端口号”
在这里插入图片描述

第二步:tasklist|findstr “查询出的 listening”,刚刚查询的是7912
在这里插入图片描述

第三步:taskkill /f /t /im 查询出占用程序名称
在这里插入图片描述

可以看到8080的进程被kill了。

以上是关于端口占用 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 v9.0 Server at localhost

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.解决办法

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

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

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