Re: Can not change Tomcat4 to listen to :80
Stefan Gybas <gybas@trustsec.de> wrote:
> On Wed, Feb 20, 2002 at 12:10:26PM +0100, Arnaud Vandyck wrote:
>
> > Catalina.start: LifecycleException: null.open:
> > java.net.BindException: Permission denied:80
>
> You need to run Tomcat as root to be able to bind to ports lower
> than 1024. However, I don't recommend running a Java program as
> root, even with a security manager. You could instead use port
> redirection (using ipchains or iptables) to map port 80 to 8180.
Thank you, I'll try ipchains, but I didn't know apache was set root
(thought www-data).
-- Arnaud
http://vbstefi60.fapse.ulg.ac.be/
Reply to: