Local deployed to the server and access the address, modify the Tomcat server port 80.

 Open the inside server.xml file, change the port to modify the properties Connector port node configuration file done, restart tomcat ready to use the new port visited after modification.

 

Or find the conf file in the Tomcat installation directory folder, open the inside server.xml file, modify the port port property.

1  <Connector port="80" protocol="HTTP/1.1"
2               connectionTimeout="20000"
3               redirectPort="8443" />

 

Reproduced in: https: //www.cnblogs.com/abcdjava/p/11016306.html

Guess you like

Origin blog.csdn.net/weixin_33739541/article/details/93679489