You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jonas Arvidson <jo...@vis-able.com> on 2001/12/18 11:17:56 UTC

Tomcat4 standalone and port 80

I'd like to use Tomcat4 standalone and use port 80
for requests. It works just fine on my Windows box
when I use the standard HTTP/1.1 Connector and change
the server.xml from port 8080 to 80. But when I want
to do the same on my Linux box the background threads
isn't created - and Tomcat4 fail to operate.

Since it works just fine with port 8080 or 8085 or just
about every port but not port 80 I suspect a conflict, that
is - some process is already listening on port 80. But
Apache is not installed and I can't figure out the problem.

 From catalina.out (logs):
Catalina.start: LifecycleException:  null.open:
   java.net.BindException: Permission denied
LifecycleException:  null.open:
   java.net.BindException: Permission denied
     at
org.apache.catalina.connector.http.HttpConnector.initialize(HttpConnector.java)
     at 
org.apache.catalina.core.StandardService.initialize(StandardService.java)
...

Installed on system:
* Tomcat4.0.1
* Red Hat 7.2
* j2sdk1.4.0
* mySQL 3.23

Any clues?

/Jonas Arvidson


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Tomcat4 standalone and port 80

Posted by Cavan Morris <ca...@worldnet.att.net>.
On Linux you need to be a root level user to open a port below 1028.  If you
try to run the startup on port 80 from a normal user account it will fail.
Is this your problem?

-Cavan

----- Original Message -----
From: "Jonas Arvidson" <jo...@vis-able.com>
To: <to...@jakarta.apache.org>
Sent: Tuesday, December 18, 2001 2:17 AM
Subject: Tomcat4 standalone and port 80


> I'd like to use Tomcat4 standalone and use port 80
> for requests. It works just fine on my Windows box
> when I use the standard HTTP/1.1 Connector and change
> the server.xml from port 8080 to 80. But when I want
> to do the same on my Linux box the background threads
> isn't created - and Tomcat4 fail to operate.
>
> Since it works just fine with port 8080 or 8085 or just
> about every port but not port 80 I suspect a conflict, that
> is - some process is already listening on port 80. But
> Apache is not installed and I can't figure out the problem.
>
>  From catalina.out (logs):
> Catalina.start: LifecycleException:  null.open:
>    java.net.BindException: Permission denied
> LifecycleException:  null.open:
>    java.net.BindException: Permission denied
>      at
>
org.apache.catalina.connector.http.HttpConnector.initialize(HttpConnector.ja
va)
>      at
> org.apache.catalina.core.StandardService.initialize(StandardService.java)
> ...
>
> Installed on system:
> * Tomcat4.0.1
> * Red Hat 7.2
> * j2sdk1.4.0
> * mySQL 3.23
>
> Any clues?
>
> /Jonas Arvidson
>
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
>


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Tomcat4 standalone and port 80

Posted by Jonas Arvidson <jo...@vis-able.com>.
Thanks!

Now it works just fine,

/jonas

E B wrote:

> Did u run it from root? ports < 1024 need root
> to bind to.
> 
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
> 
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
> 
> 
> .
> 
> 



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Tomcat4 standalone and port 80

Posted by E B <he...@yahoo.co.uk>.
Did u run it from root? ports < 1024 need root
to bind to.

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>