tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Delle Grazie <brett.dellegra...@gmail.com>
Subject Re: Tomcat in port 80 and Debian
Date Wed, 06 Feb 2013 09:11:18 GMT
On 5 Feb 2013 10:58, "Konstantin Kolinko" <knst.kolinko@gmail.com> wrote:
>
> 2013/2/5 Roberto <mrgreiner@gmail.com>:
> > Hi,
> >
> > I need help with a seemingly trivial question: How to make tomcat use
> > port 80.
> >
> > I have fresh Debian 6.0.6/64 bit install, with Tomcat 6 installed.
> > Following some messages, I found in Debian a setting in
> > /etc/default/tomcat that would solve my problem, which is setting
> > AUTHBIND=yes. The problem is that a comment immediately before this says
> > that this is only recommended for IPv4, not to be used for IPv6. But
> > these days, IPv6 is a requirement. All my servers have IPv6 in
> > production, and I will not/want not to install a brand new server that
> > works only in IPv4.
> >
> > Running Tomcat as root is also not an option, for security concerns. So,
> > how should I proceed to make Tomcat listen on port 80? Set iptables to
> > redirect port 80 to 8080? Some other path? Could someone point me to the
> > proper document/manual?
>
> This topic is mentioned in the FAQ,
>
http://wiki.apache.org/tomcat/HowTo#How_to_run_Tomcat_without_root_privileges.3F
>

Another alternative to those in the FAQ is to use the jsvc binary which
will allow you to bind to port 80. This starts as root to bind to the port
and then lowers its privileges to that of the specified user.

I'm on a mobile so no links at the moment. I believe a package exits for
this in Debian.

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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message