I've a glassfish server that use the port 8080.
I need forward from port 80 to 8080 so I can access the content without put the :8080 port in the url.
I've tried to put a masquerade rule, add iptables rules but nothing changes...
The last iptables rule that i've tried is:
sudo iptables -t nat -A OUTPUT -d localhost -p tcp --dport 80 -j REDIRECT --to-port 8080
That come from this post Port 80 redirect does not work for localhost the problem is that nothing changes.
The version of opensuse is: 13.2
What I miss?