Thanks Chuck! I'll try it tomorrow.


On Sat, Nov 26, 2011 at 9:40 PM, Caldarale, Charles R <
chuck.caldar...@unisys.com> wrote:

> > From: Pierre Goupil [mailto:goupilpie...@gmail.com]
> > Subject: xinetd port redirection for Tomcat
>
> > Shall I use another way of binding Tomcat to port 80?
>
> Try iptables - it's even simpler.  Something like the following should
> work:
>
> /sbin/iptables -t nat -I PREROUTING -p tcp --dport 80 -j REDIRECT
> --to-port 8080
>
> Set your Tomcat <Connector> port to 8080; external requests coming into
> port 80 will be automatically redirected to 8080.  Make sure your Linux
> firewall has 8080 open.
>
>  - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail and
> its attachments from all computers.
>
>


-- 
Si tu penses que la violence ne résout rien, c'est que tu n'as pas tapé
assez fort.

Reply via email to