eclipse下启动Tomcat端口问题
当我启动tomcat时老是出现下面的错误:Several ports (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).
是端口占用,我在server.xml里面修改了端口,显示也修改了,当重新启动的时候端口仍然是8080,求大神解惑 Eclipse Tomcat 服务器
[解决办法]
你修改的tomcat 和你eclipse启动的tomcat是不是同一个...先确定一下
[解决办法]
1.打开cmd 键入netstat -ano 查看是否有8080这个端口在使用,如果有找出pid
键入taskkill /f /pid 你的pid 再试一试
2. 确定你该的端口是这行?<Connector port="8081" protocol="HTTP/1.1"
maxThreads="150" connectionTimeout="20000"
redirectPort="8443" />
[解决办法]
换个tomcat,确定要和你eclipse里面使用的是一个tomcat
[解决办法]