Tomcat启动失败--Several ports (8005, 8080, 8009)

启动Tomcat服务器报错:

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).

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

解决方法:
方法1:杀掉占用端口的软件。

打开任务管理器,找到java虚拟机相关的进程javaw.exe,干掉他。如果问题没有解决,下面方法2

方法2:修改tomcat默认端口号。

修改Tomcat的配置文件。找到tomcat配置文件里的server.xml修改端口号
例如:D:\itek\apache-tomcat-7.0.67\conf\server.xml
 <Connector port="8080" maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="8443" acceptCount="100"
               connectionTimeout="20000" disableUploadTimeout="true" />

Connector 节点,将port="8080"中的端口改为一个没有被占用的端口。

原文地址:https://www.cnblogs.com/Kingram/p/9227180.html

时间: 2024-10-14 07:44:00

Tomcat启动失败--Several ports (8005, 8080, 8009)的相关文章

错误记录--更改tomcat端口号方法,Several ports (8005, 8080, 8009)(转)

启动Tomcat服务器报错: Several ports (8005, 8080, 8009) required by Tomcat v5.5 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 sto

错误记录--更改tomcat端口号方法,Several ports (8005, 8080, 8009)【转】

启动Tomcat服务器报错: Several ports (8005, 8080, 8009) required by Tomcat v5.5 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 sto

错误记录--更改tomcat端口号方法,Several ports (8005, 8080, 8009)

启动Tomcat服务器报错: Several ports (8005, 8080, 8009) required by Tomcat v5.5 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 sto

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

eclipse出现:Several ports (8005, 8080, 8009) required by Tomcat v8.5 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

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 pro

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 pro

Several ports (8005, 8080, 8009) required by Tomcat v8.5 Server at localhost are already in use.

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

Java tomcat Several ports (8005, 8080, 8009) required by Tomcat v9.0 Server at localhost

关于 下面问题是因为(8005, 8080, 8009) 被原tomcat占用了. Several ports (8005, 8080, 8009) required by Tomcat v9.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

Several ports (8005, 8080, 8009) required by Tomcat v9.0 Server at localhost

Several ports (8005, 8080, 8009) required by Tomcat v9.0 Server at localhost 问题:Tomcat服务器的端口被占用 解决: win+R 进入cmd netstat -ano 在第二列找到8080端口,对于找到该行的最后一列,记下PID号 进入任务管理器,选择服务 找到PID列中的对应进程,右键停止服务. 重启Eclipse,解决!!! 原文地址:https://www.cnblogs.com/yocichen/p/104