Using a Windows box with Putty to install and execute jboss with it’s own Tomcat instance using the default port of 8080 on a fresh built Red Hat Enterprise Linux box, everything looked to be fully operational; however, I could not access the web address from a remote box. I quickly realized that the firewall was fully operational (from previous experience). I found a great little article that quickly resolved the situation. After executing several commands, I was able to access the jboss web console.
CentOS/RHEL 4/5/6
Another instance of Putty was opened and executed the following three commands to save and disable the firewall.
service iptables save service iptables stop chkconfig iptables off
The article continues to define the commands used to disable the firewall. iptables is an admin command line tool for IPv4 packet filtering and NAT. The service command is used to save, stop, or start a service. “The chkconfig command is used to update and queries runlevel information for system service. It is a system tool for maintaining the /etc/rc*.d hierarchy. Use this tool to disable firewall service at boot time.”
CentOS/RHEL 7/8
systemctl disable firewalld systemctl stop firewalld