tomcat端口被占用无法启动_Several ports (8005, 8080, 8009) required by Tomcat v8.0

启动Tomcat服务器报错:

Several ports (8005, 8080, 8009) required by Tomcat v8.0 Server at localhost (3) 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).


tomcat端口被占用无法启动_Several ports (8005, 8080, 8009) required by Tomcat v8.0_第1张图片


原因:端口8005, 8080, 8009被占用了。可能是在打开Tomcat的情况下关闭了Eclipse,或是Eclipse非正常关闭,导致先前的Tomcat没有被关闭,端口占用。或是其他软件占用了tomcat的端口号。


解决方法:

1.打开dos窗口,查看占用端口的进程,输入netstat -ano|findstr 8080,如图




2.kill这个进程号,输入 taskkill /pid 78788 /f,如图


tomcat端口被占用无法启动_Several ports (8005, 8080, 8009) required by Tomcat v8.0_第2张图片


这样就成功了


你可能感兴趣的:(debug)