You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Neil Zanella <nz...@cs.mun.ca> on 2003/07/04 03:16:42 UTC
running tomcat on port 80 instead of port 8080
Hello,
Sorry if this is a FAQ but how can I run Jakarta Tomcat on port 80 rather
than on port 8080? I guess all I have to do is change
$CATALINA_HOME/conf/server.xml so that instead of:
<!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -->
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8080" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="100" debug="0" connectionTimeout="20000"
the following appears instead:
<!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -->
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="80" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="100" debug="0" connectionTimeout="20000"
and restart the server. Is this correct?
Thanks,
Neil
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: running tomcat on port 80 instead of port 8080
Posted by Tim Funk <fu...@joedog.org>.
Try it and see what happens. (meaning yes, that should work)
-Tim
Neil Zanella wrote:
> Hello,
>
> Sorry if this is a FAQ but how can I run Jakarta Tomcat on port 80 rather
> than on port 8080? I guess all I have to do is change
> $CATALINA_HOME/conf/server.xml so that instead of:
>
> <!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -->
> <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
> port="8080" minProcessors="5" maxProcessors="75"
> enableLookups="true" redirectPort="8443"
> acceptCount="100" debug="0" connectionTimeout="20000"
>
> the following appears instead:
>
> <!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -->
> <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
> port="80" minProcessors="5" maxProcessors="75"
> enableLookups="true" redirectPort="8443"
> acceptCount="100" debug="0" connectionTimeout="20000"
>
> and restart the server. Is this correct?
>
> Thanks,
>
> Neil
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: running tomcat on port 80 instead of port 8080
Posted by Georges Roux <ge...@pacageek.org>.
On Linux to run Tomcat Standalone on port 80, without using ROOT
permissions(simple user)
U can use iptables to redirect 8080 to 80 and 8443 to 443.
without iptables, apache can do the job as necessary, but iptables is
very simple.
Georges
Tom Parker a écrit :
>On Fri, 2003-07-04 at 13:16, Neil Zanella wrote:
>
>
>
>>Sorry if this is a FAQ but how can I run Jakarta Tomcat on port 80 rather
>>than on port 8080? I guess all I have to do is change
>>$CATALINA_HOME/conf/server.xml so that instead of:
>>
>>
>
>...
>
>Yes, that should work. However if you are running on linux, a normal
>user cannot bind to ports below ~1000, you have to be root to do that.
>Is it possible to bind Tomcat to port 80 without running the JVM as
>root?
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
Re: running tomcat on port 80 instead of port 8080
Posted by Tom Parker <to...@econz.co.nz>.
On Fri, 2003-07-04 at 13:16, Neil Zanella wrote:
> Sorry if this is a FAQ but how can I run Jakarta Tomcat on port 80 rather
> than on port 8080? I guess all I have to do is change
> $CATALINA_HOME/conf/server.xml so that instead of:
...
Yes, that should work. However if you are running on linux, a normal
user cannot bind to ports below ~1000, you have to be root to do that.
Is it possible to bind Tomcat to port 80 without running the JVM as
root?
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org