You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kam Lung Leung <kl...@advoicetech.com> on 2005/10/26 21:00:14 UTC

can I run tomcat on port 80 without running as root

Hi,

I want to have Tomcat listen to port 80 instead port 8080. However, I don't want to run Tomcat as root. Is this possible?
Thank you in advance,


Kam

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: can I run tomcat on port 80 without running as root

Posted by John Laughton <jl...@cisco.com>.
I run the machine that has tomcat behind a router that does a NAT from port 
80 to port 8080

John
At 01:00 PM 10/26/2005 -0600, Kam Lung Leung wrote:
>Hi,
>
>I want to have Tomcat listen to port 80 instead port 8080. However, I 
>don't want to run Tomcat as root. Is this possible?
>Thank you in advance,
>
>
>Kam
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>For additional commands, e-mail: users-help@tomcat.apache.org

**********************************************************************
   John Laughton, Cisco Systems            (john.laughton@cisco.com)
   408.902.3592 (voicemail and fax)       page - 1 800 365 4578
**********************************************************************

How to use 2 different authentication types for one applicatio

Posted by Pe...@gmx.net.
Hello,

I have an application which has two different user groups. The first one
will authenticat with a simple form and the second one will send their
username & password directly in a request. How can I get this to work with
the authentication provided by tomcat?

Regards,
Pete

-- 
Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: can I run tomcat on port 80 without running as root

Posted by Daniel Farinha <da...@ktorn.com>.
Hi Kam,

this might be useful
http://linux.org.mt/article/tomcat-ports

Searched google for: running tomcat port 80 non root

Regards

Daniel

-----Original Message-----
From: Kam Lung Leung [mailto:kleung@advoicetech.com] 
Sent: 26 October 2005 20:00
To: Tomcat User List
Subject: can I run tomcat on port 80 without running as root
Importance: High

Hi,

I want to have Tomcat listen to port 80 instead port 8080. However, I don't
want to run Tomcat as root. Is this possible?
Thank you in advance,


Kam

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


SOLVE:RE: can I run tomcat on port 80 without running as root

Posted by Kam Lung Leung <kl...@advoicetech.com>.
Thank you the the information. It is solved with iptables using net in linux.


---- Tomcat Users List <us...@tomcat.apache.org> wrote:
>
> Yes. The solution is (assuming you're running Linux or something like it) is
> to port forward requests on port 80 to port 8080.
> 
> Here's a discussion.
> 
> http://linux.org.mt/article/tomcat-ports
> 
> George Sexton
> MH Software, Inc.
> http://www.mhsoftware.com/
> Voice: 303 438 9585
>   
> 
> > -----Original Message-----
> > From: Kam Lung Leung [mailto:kleung@advoicetech.com] 
> > Sent: Wednesday, October 26, 2005 1:00 PM
> > To: Tomcat User List
> > Subject: can I run tomcat on port 80 without running as root
> > Importance: High
> > 
> > Hi,
> > 
> > I want to have Tomcat listen to port 80 instead port 8080. 
> > However, I don't want to run Tomcat as root. Is this possible?
> > Thank you in advance,
> > 
> > 
> > Kam
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> > 
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

Sincerely yours, <br>
<br>
<br>
<br>
<br>
Kam Lung Leung <br>
President<br> 
<strong>
Advanced Voice Technologies, Inc.<br> 
</strong>
<strong> 
<A href="http://www.advoicetech.com" target="_blank">www.advoicetech.com </A> 
</strong><br>
<strong>Office:</strong> 303.539.2950<br>
<strong>Fax:</strong> 303.539.2951<br>
<strong>Our business is to bring your clients to you by personalized voice messaging. <br></strong> 













---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: can I run tomcat on port 80 without running as root

Posted by George Sexton <gs...@mhsoftware.com>.
Yes. The solution is (assuming you're running Linux or something like it) is
to port forward requests on port 80 to port 8080.

Here's a discussion.

http://linux.org.mt/article/tomcat-ports

George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
  

> -----Original Message-----
> From: Kam Lung Leung [mailto:kleung@advoicetech.com] 
> Sent: Wednesday, October 26, 2005 1:00 PM
> To: Tomcat User List
> Subject: can I run tomcat on port 80 without running as root
> Importance: High
> 
> Hi,
> 
> I want to have Tomcat listen to port 80 instead port 8080. 
> However, I don't want to run Tomcat as root. Is this possible?
> Thank you in advance,
> 
> 
> Kam
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org