I am running Jboss AS application on Linux.
I try to find some way to configure the Jboss AS and/or domain on linux so that a user may access the Jboss AS application through URL without specifying the port number (i.e. http://www.mydomain.com, not http:/www.mydomain.com:8080).
There may have two ways to do it
1. How can we configure the domain on linux to set the default port to 8080?
( I prefer this way, if it is possible).
2. We may have to forward port 80 to 8080.
I read one post about this topic, but it is not clear for me. I am not sure it is a right way or not.
Would some experts provide some suggestions?
Thanks in advance!
I just tried an port forwarding approach.
it works for me.
run one linux command as root
to forward port 443 -> 8443 ,
/sbin/iptables -t nat -A PREROUTING -p tcp --dport 443 -d 192.168.x.x -j DNAT --to 192.168.x.x:8443
The credit goes to http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingPortForwardingWithJBoss