iptables open port 80
Editing the configuration file:
[[email protected] ~]# nano /etc/sysconfig/iptables
Add a line
-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
Restarting the iptables service
[[email protected] ~]# service iptables restart