天天看点

Eclipse启动tomcat,端口占用问题

1、tomcat7部署后,eclipse运行web项目,发现8009、8080等端口被占用

解决方法:打开tomcat7根目录,根目录/conf/server.xml,使用记事本打开server.xml,占用的端口port修改为以下字段:

Eclipse启动tomcat,端口占用问题

修改后保存, 重新运行tomcat7,http://localhost:8090/ (我这边修改为8090)