eclipse启动TOMCAT服务器报错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 stop the other process or change the port number(s).
解决方法:

方法一:关闭eclipse,重启,在启动项目。

方法二:将Tomcat里面的8005 8080 8009 分别改成8015 8081 8091。

方法三:eclipse 重新创建一个Server,就会存在两个Server,然后你在第二个Server里面运行项目即可。

方法三:找到你的工作目录的workspace\.metadata\.plugins\org.eclipse.wst.server.core这个文件夹,将里面所有的tmp0,tmp1,tmp2,tmp3......等等都删掉,在运行项目即可。

*以上就是解决办法,从第一个开始试,总有一个方法能行的通。

正在加载评论...