整个负责tomcat后修改server.xml, 改三个端口:
1、<Server port="8005" shutdown="SHUTDOWN">
2、<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="utf-8"/>
3、<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />