You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Miao, Franco CAWS:EX" <Fr...@gems7.gov.bc.ca> on 2001/10/18 17:58:41 UTC

How to change Tomcat default port from 8080 to standard port 80?

How to change Tomcat default port from 8080 to standard port 80?

Thanks!

Franco 

Re: How to change Tomcat default port from 8080 to standard port 80?

Posted by "Dr. Evil" <dr...@sidereal.kz>.
> How to change Tomcat default port from 8080 to standard port 80?

In conf/server.xml, edit this section:

    <Connector
    className="org.apache.catalina.connector.http.HttpConnector"
               port="8080" minProcessors="5" maxProcessors="75"
               enableLookups="true" redirectPort="8443"
               acceptCount="10" debug="0" connectionTimeout="60000"/>

in the obvious way.

Re: How to change Tomcat default port from 8080 to standard port 80?

Posted by pixel <pi...@pixelfreak.net>.
visit the following url for docs on how to configure the http1.1 
connector....

http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/http11.html

based on this information, you should end up with an entry like this in 
your server.xml file [located in the /config directory in tomcat home]

<!-- Define a non-SSL HTTP/1.1 Connector on port 80 -->
    <Connector className="org.apache.catalina.connector.http.HttpConnector"
               port="80" minProcessors="5" maxProcessors="75"
               enableLookups="true" redirectPort="8443"
               acceptCount="10" debug="0" connectionTimeout="60000"/>
    <!-- Note : To disable connection timeouts, set connectionTimeout value
     to -1 -->

~scott

Miao, Franco CAWS:EX wrote:

>How to change Tomcat default port from 8080 to standard port 80?
>
>Thanks!
>
>Franco 
>
>
>



RE: How to change Tomcat default port from 8080 to standard port 80?

Posted by Leo Bynum <le...@gisresults.com>.


Try this:


open the server.xml file and search for 8080. 


Replace the line so 8080 is replaced with 80 like this:


   <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
    <Connector className="org.apache.catalina.connector.http.HttpConnector"
               port="80" minProcessors="5" maxProcessors="75"
               enableLookups="true" redirectPort="8443"
               acceptCount="10" debug="0" connectionTimeout="60000"/>


-----Original Message-----
From: Miao, Franco CAWS:EX [mailto:Franco.Miao@gems7.gov.bc.ca]
Sent: Thursday, October 18, 2001 8:59 AM
To: 'tomcat-user@jakarta.apache.org'
Subject: How to change Tomcat default port from 8080 to standard port
80?


How to change Tomcat default port from 8080 to standard port 80?

Thanks!

Franco