日期:2014-05-18  浏览次数:20709 次

在myeclipse6.0下,怎样修改tomcate的端口号?
我用的是myeclipse6.0,但安装后tomcate(自动装在myeclipse6.0中)就是不能用,估计是端口8080有冲突;
请问:1 在myeclipse6.0中,怎样修改tomcate的端口号,使它能用?
  2 我想用我原先的tomcate,怎样加进myeclipse中?
请大侠指教!!!!!!!!!!!!!!!!!!!!

------解决方案--------------------
你首先打开你根目录下面得Tomcat里面得conf文件夹-再打开server.xml文件-然后 
 <Connector port="8080" protocol="HTTP/1.1" 
connectionTimeout="20000" 
redirectPort="8443" />
 <!-- A "Connector" using the shared thread pool-->上面代码里得8080,(默认得是8080),
你可以修改
------解决方案--------------------
探讨
你首先打开你根目录下面得Tomcat里面得conf文件夹-再打开server.xml文件-然后
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
<!-- A "Connector" using the shared thread pool-->上面代码里得8080,(默认得是8080),
你可以修改

------解决方案--------------------
你用netstat -na看看是不是8080被占用了
如果被占用了就用1楼的方法修改即可