tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adrianthiele <adrianthi...@netzero.net>
Subject Re: port 80 !!?? Running !
Date Tue, 30 Apr 2002 10:27:58 GMT
Yes , a non root process cannot bind to a port under 80. Apache actually 
starts one process as root according to ps -U root. the child processes 
are started as www.

Adrian


Tevfik Aytekin wrote:

>Adrian, I do not understand your answer.
>Is your tomcat running on port 80 with a user other then root?
>If yes, please tell me how you achieve this.
>
>Thanks.
>TA.
>
>-----Original Message-----
>From: adrianthiele [mailto:adrianthiele@netzero.net]
>Sent: Tuesday, April 30, 2002 11:53 AM
>To: Tomcat Users List
>Cc: r.romano@set-network.com
>Subject: Re: port 80 !!?? Running !
>
>
>Tevfik , I have mine running on port 80, I just grepped Server.xml and
>changed the port number from 8080 to 80 no the non ssl http config. It
>only needs to be changed in one spot.
>I just ran apachectl stop the startup.sh and everything is fine.
>
>                Adrian
>
>
>Tevfik Aytekin wrote:
>
>  
>
>>But apache server can manage to bind to port 80 with another user.
>>What I am asking is why tomcat can not do this. Is it becasue it is written
>>in Java?
>>
>>TA.
>>
>>-----Original Message-----
>>From: Renato Romano [mailto:r.romano@set-network.com]
>>Sent: Tuesday, April 30, 2002 3:30 PM
>>To: 'Tomcat Users List'
>>Subject: RE: port 80 !!??
>>
>>
>>That's because on Unix-like systems well-known port numbers, like www
>>(port 80), or ftp, telnet etc, are system-reserved to the root user. No
>>other user can open server sockets on ports less than 1024. You should
>>run it as root, or have another user having system administrator
>>prvileges.
>>Renato
>>
>>____________________________________
>>Renato Romano
>>Sistemi e Telematica S.p.A.
>>Calata Grazie - Vial Al Molo Giano
>>16127 - GENOVA
>>
>>e-mail: r.romano@set-network.com
>>Tel.:   010 2712603
>>_____________________________________
>>
>>
>>-----Original Message-----
>>From: Tevfik Aytekin [mailto:aytekin@ii.metu.edu.tr]
>>Sent: martedì 30 aprile 2002 14.32
>>To: Tomcat Users List
>>Subject: port 80 !!??
>>
>>
>>Hi,
>>I suppose this question should have been answered, but I could not find
>>a satisfactory answer in the archives. Isn't it possible to run tomcat
>>as standalone on port 80 with a user other then root. Apache server
>>manages to do this. But as far as I can see tomcat can not. I wonder
>>why? Can someone answer? This ability of tomcat would have been great
>>since we did not need neither apache nor mod_jk, etc. Also since apache
>>and mod_jk are written in C it troubles many people to get them run on
>>different platforms. So I do not understand why tomcat do not have the
>>ability run on port 80 with a user other than root.
>>
>>Thanks in advance.
>>TA.
>>
>>
>>--
>>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>
>>
>>
>>
>>
>>
>>    
>>
>
>
>
>
>--
>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