You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by co...@eng.sun.com on 2000/02/03 08:51:13 UTC
Re: New settings and change of port
> Hello,
> A little stupid question:
> In the new Tomcat organization of files, where is the setting to set up the
> port on 80 instead of 8080 ?
> In previous organization, it was in server.xml, in the new settings
> <ContextManager port="80" hostName="" inet=""> doesn't lead Tomcat to
> answer to port 80 instead of 8080
The port is a property of the adapter ( httpAdapter in this case), not
a property of the server ( the server or contextManager might listen on
multiple ports )
Try:
<Connector className="org.apache.tomcat.service.http.HttpAdapter">
<Parameter name="port" value="80"/>
</Connector>
Costin