Setting Jboss EAP port 8443 to 443?
I need setting Jboss EAP 6 for access port 443.
Great
Dennys
My setting standalone.xml part in attachment.
Attachments
Responses
It's not recommended because it requires root user to run EAP. Please consider using httpd as a reverse proxy.
Although I agree with Takayuki that you should be putting the server behind a proxy, another solution (or at least way to achieve what you want) is using iptables.
iptables -I INPUT -i eth0 -p tcp --dport 8080 -j ACCEPT
iptables -I INPUT -i eth0 -p tcp --dport 8443 -j ACCEPT
iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080
iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 443 -j REDIRECT --to-port 8443
Because the PREROUTING port redirect is processed before the INPUT rules, the INPUT rules need to specify the 'real' port to accept incoming connections (if you have default DROP policy on INPUT).
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
