The Process must run as root, If you can see it on yours , you
should be able to see it from others. If I start the whole tomcat
process as another user it can start on any port over 1024.
Do you use localhost to see the servlet on your machiine ? Can you
use the ip address to view it ?
Lauren Commons wrote:
>I also got Tomcat to listen on port 80 by changing the
>port number in Server.xml. My problem is I can only
>browse from the local (server) machine. If I point my
>browser on another machine on the same network to the
>server's ip address I get no response (I think that
>was what happened; I can't test it now to recall
>exactly what happens...)
>
>I'm guessing this is a unix thing, but am not sure.
>I'm running on Redhat 7.2
>
>--- adrianthiele <[EMAIL PROTECTED]> wrote:
>
>
>>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:[EMAIL PROTECTED]]
>>
>>
>>>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: [EMAIL PROTECTED]
>>>Tel.: 010 2712603
>>>_____________________________________
>>>
>>>
>>>-----Original Message-----
>>>From: Tevfik Aytekin
>>>
>>>
>>[mailto:[EMAIL PROTECTED]]
>>
>>
>>>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:[EMAIL PROTECTED]>
>>
>>
>>>For additional commands:
>>>
>>>
>><mailto:[EMAIL PROTECTED]>
>>
>>
>>>Troubles with the list:
>>>
>>>
>><mailto:[EMAIL PROTECTED]>
>>
>>
>>>
>>>--
>>>To unsubscribe:
>>>
>>>
>><mailto:[EMAIL PROTECTED]>
>>
>>
>>>For additional commands:
>>>
>>>
>><mailto:[EMAIL PROTECTED]>
>>
>>
>>>Troubles with the list:
>>>
>>>
>><mailto:[EMAIL PROTECTED]>
>>
>>
>>>--
>>>To unsubscribe:
>>>
>>>
>><mailto:[EMAIL PROTECTED]>
>>
>>
>>>For additional commands:
>>>
>>>
>><mailto:[EMAIL PROTECTED]>
>>
>>
>>>Troubles with the list:
>>>
>>>
>><mailto:[EMAIL PROTECTED]>
>>
>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>>--
>>To unsubscribe:
>><mailto:[EMAIL PROTECTED]>
>>For additional commands:
>><mailto:[EMAIL PROTECTED]>
>>Troubles with the list:
>><mailto:[EMAIL PROTECTED]>
>>
>>
>>
>
>
>=====
>-------------------------
>Mr Lauren Commons
>DISCLAIMER: The opinions expressed
>ARE in fact those of my employer.
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Health - your guide to health and wellness
>http://health.yahoo.com
>
>--
>To unsubscribe: <mailto:[EMAIL PROTECTED]>
>For additional commands: <mailto:[EMAIL PROTECTED]>
>Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>
>
>
>
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>