当前位置: 代码迷 >> Eclipse >> Tomcat port 设置有关问题
  详细解决方案

Tomcat port 设置有关问题

热度:295   发布时间:2016-04-23 14:03:19.0
Tomcat port 设置问题
我开发用的配置是Tomcat6.0+Eclipse3.3+Lomboz3.3
以下就是我在设置完成后开发出现的问题:

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

我重装了Tomcat6.0把port 改成了1088后,再按上述的方法建了一个项目,出现了以下的问题:
Several ports (8005, 8009) required by Tomcat v6.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).

请多多指教!


------解决方案--------------------
modify server.xml:
(1)change Shutdown port(8005->????)
(2)change the CoyoteConnector port of Connector(8009 -> ????)
(3)start Tomacat
------解决方案--------------------
打开你的[控制面板][管理工具][服务]

把那里面的tomcat 服务关掉!

------解决方案--------------------
你使用了安装版的tomcat,并且选择了[Service] 服务选项,
这个是随机自动启动的。 建议你禁用它, 每次自己手工启动tomcat
  相关解决方案