By default, tomcat serves EVERYTHING on port 8080. You can easily change it
to serve on port 80 so that you don't need to add any port numbers to your
url. You make this change in the <tomcat_install_dir>\conf\server.xml file.
Look for


   <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
               port="8080" minProcessors="5" maxProcessors="75"
               enableLookups="true" redirectPort="8443"
               acceptCount="100" debug="0" connectionTimeout="20000"
               useURIValidationHack="false" disableUploadTimeout="true" />
    <!-- Note : To disable connection timeouts, set connectionTimeout value
     to -1 -->



8080 and change it to 80, restart your tomcat and it will work.


HOWEVER, you need to make sure you don't have any other web server running
on port 80 first. If you have apache or IIS installed, they usually install
on port 80 by default. If you have another web server using that port, you
will need to change it first, consult the applicable documentation. Of
course there are other ways to configure also, but that is a much longer
discussion.

-Brian

-----Original Message-----
From: Taylor, Robert [mailto:[EMAIL PROTECTED]
Sent: Monday, March 31, 2003 7:15 AM
To: Tomcat Users List
Subject: Tomcat redirect to 8080 Help please?


When I browse to my Tomcat server examples from the web, I have no problems.
When I browse to my WebApp and add the port 8080 I have no problems. But
when I browse to my Web App without the 8080 the request does not seem to
get redirected to Tomcat.

Why can I find the Tomcat Examples without 8080 but I need it for my App?

Please help

Rob






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to