怎么修改tomcat端口
来自 https://jingyan.baidu.com/article/adc815139b12def722bf7377.html
1、以apache-tomcat-7.0.6为例,进入tomcat安装目录,编辑文件“安装目录apache-tomcat-7.0.6confserver.xml”(可以用记事本打开)
2、在server.xml文件中依次查找并修改端口号:
修改以下两个地方 将8005改为8006,将8080改为8081.将8443改为8444
3、启动tomcat,访问http://localhost:8081/ ;能成功访问,说明修改成功(访问的端口跟据配置文件中设置的Connector 端口)