On Linux, if iptables is deployed, to enable access to port 8080, do the following,
#service iptables stop
#vi /etc/sysconfig/iptables
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 8080 -j ACCEPT
Notes: the above last line is added and will enable access to port 8080.
#service iptables start
Done!
Tuesday, July 11, 2006
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment