eclipse中启动Tomcat时报错——Several ports (8005, 8080, 8009) required by Tomcat v8.5 Server at

时间:2021-01-16 15:57:58

eclipse中启动Tomcat时报错——Several ports (8005, 8080, 8009) required by Tomcat v8.5 Server at

错误原因:端口占用

解决方法:

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

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

eclipse中启动Tomcat时报错——Several ports (8005, 8080, 8009) required by Tomcat v8.5 Server at

2.输入 taskkill  /pid  1952  /f 

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

eclipse中启动Tomcat时报错——Several ports (8005, 8080, 8009) required by Tomcat v8.5 Server at

3.重启tomcat