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.
I opened another instance of Putty and executed three commands to disable the
firewall.
1.
# service
iptables save
2.
# service
iptables stop
3.
# chkconfig
iptables off

Note: This also applies to Fedora, CentOS, Red Hat
Enterprise Server 4, Red Hat Enterprise Server 5.
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.”
출처:http://it.megocollector.com/?p=663