Find the server. xml file in the conf subdirectory under the tomcat installation directory and find the following information:
<Connector classname = "org. Apache. Coyote. tomcat5.coyoteconnector"
Port = "8080" minprocessors = "5" maxprocessors = "100"
Enablelookups = "true" redirectport = "8443" acceptcount = "100"
DEBUG = "0" connectiontimeout = "20000"
Disableuploadtimeout = "true"/>
Modify it:
<Connector classname = "org. Apache. Coyote. tomcat5.coyoteconnector"
Port = "80" minprocessors = "5" maxprocessors = "100"
Enablelookups = "true" redirectport = "8443" acceptcount = "100"
DEBUG = "0" connectiontimeout = "20000"
Disableuploadtimeout = "true"/>
Port 80 is the default port of the HTTP protocol, if you do not select 80 for the default port, then the customer must add the port number after the access address, in: http://www.zhihuigu.com: 8080/So, this is very troublesome.
After modification! Yes
(1) Stop the IIS web service because it occupies port 80 by default!
(2) restart the Tomcat server.