users@glassfish.java.net

Re: Setting Port 80?

From: <glassfish_at_javadesktop.org>
Date: Tue, 09 Mar 2010 10:21:48 PST

UBUNTU:

If the user running glassfish does not have privileges to setup shop on ports < 1024 then you can configure your firewall to redirect like so:

iptables -t nat -A PREROUTING -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8080
iptables -t nat -A PREROUTING -p udp -m udp --dport 80 -j REDIRECT --to-ports 8080


ref: http://blogs.sun.com/foo/entry/run_glassfish_v3_as_a
[Message sent by forum member 'bnevins' (byron.nevins_at_sun.com)]

http://forums.java.net/jive/thread.jspa?messageID=390900