首页 > 其他 > 详细

Tomcat:Several ports are already in use问题

时间:2014-06-23 07:07:39      阅读:405      评论:0      收藏:0      [点我收藏+]

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

    在eclipse非正常关闭或者没关闭掉tomcat情况下,虽然eclipse关掉了,但是Tomcat服务器没有关。若重新使用eclipse会出现上述错误。这种状况解决方法把占用的端口关掉就可以了。目前我没找到能关闭端口的命令行工具。不过可以使用Microsoft的TcpView.zip 来关掉占用的端口,下载地址:http://technet.microsoft.com/en-us/sysinternals/bb897437.aspx

 

tomcat    oracle  占用8080端口

Program Files\Apache Software Foundation\Tomcat 6.0\conf\server.xml

1、修改端口为8000

<Connector port="8000" protocol="HTTP/1.1" 
               connectionTimeout="20000" 
               redirectPort="8443" />

2、eclipse重新加载tomcat

[windows]-preference-server

窗口servers-new-

ok

Tomcat:Several ports are already in use问题,布布扣,bubuko.com

Tomcat:Several ports are already in use问题

原文:http://www.cnblogs.com/ExMan/p/3799599.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!