1. 进入防火墙文件:
[ vi /etc/sysconfig/iptables ]
2. 放行8080端口:
[ -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 8080 -j ACCEPT ]
3. 重启防火墙服务:
[ service iptables restart ]