tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Travis Schmid <travis.sch...@peregrine.com>
Subject RE: jsp wont open unless port 8080 is specified in browser
Date Wed, 16 Jan 2002 20:54:38 GMT
Using port 8080 connects directly to Tomcat running in stand-alone mode.  If
you want to use port 80 (the web server standard/default), you must either
use a web server and configure it to pass all *.jsp pages to Tomcat, or
configure Tomcat to listen to port 80 instead of 8080.  Connecting Tomcat to
a web server is detailed in the documentation:
http://jakarta.apache.org/tomcat/tomcat-3.2-doc/index.html (for version
3.2).  This page has links detailing how to setup Tomcat with Netscape,
Apache and IIS.
To change the port Tomcat listens on to port 80, change the following
section of your server.xml file as follows:
Change the http connector section from:
	<Connector className="org.apache.tomcat.service.PoolTcpConnector">
            <Parameter name="handler" 
 
value="org.apache.tomcat.service.http.HttpConnectionHandler"/>
            <Parameter name="port" 
                value="8080"/>
        </Connector>
To:
	<Connector className="org.apache.tomcat.service.PoolTcpConnector">
            <Parameter name="handler" 
 
value="org.apache.tomcat.service.http.HttpConnectionHandler"/>
            <Parameter name="port" 
                value="80"/>
        </Connector>

Note this only works if you don't have another web server already listening
on that port.  You can't have both Tomcat and another web server on the same
port.


> -----Original Message-----
> From: Martin Sujkowski [mailto:msujkowski@tlcdelivers.com]
> Sent: Wednesday, January 16, 2002 11:10 AM
> To: Tomcat Users List
> Subject: Re: jsp wont open unless port 8080 is specified in browser
> 
> 
> i get a similar thing except if i dont use 8080 i get page cannot be
> displayed screen.
> With 8080 i still am getting internal server error with bunch 
> of other crap
> below it.
> 
> Martin
> ----- Original Message -----
> From: "William Cheng" <wtc4x@cms.mail.virginia.edu>
> To: <tomcat-user@jakarta.apache.org>
> Sent: Wednesday, January 16, 2002 1:15 PM
> Subject: jsp wont open unless port 8080 is specified in browser
> 
> 
> > hi all
> >
> > how can i get the my jsp files to open without specifying port 8080
> > on the browser.  if i dont specify 8080 and login screen pops up.
> > thanks for any information
> >
> > Will
> >
> > --
> > To unsubscribe:   
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message