2009-09-23

Change Tomcat port from 8080 to 80

To change Apache Tomcat port from 8080 to 80 (so that developer or user doesn't need to type :8080 at the back of the URL):

  1. Edit TOMCAT_DIR\conf\server.xml.
  2. Look for line similar to below (the keyword is connector and 8080):
    <connector connectiontimeout="20000" port="8080" protocol="HTTP/1.1" redirectport="8443"></connector>
  3. Just change 8080 to 80 and restart Tomcat.

0 comments: