[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can not change Tomcat4 to listen to :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/

Instead of port redirection you might also want to look at the khttpd kernel 
module. Speeds up serving of static assets and is quite easy to use.

Cheers,
   Eric



Reply to: