Below are the commands which are to be used in centos 7 to open port 80
[root@onlinesupport ~]# firewall-cmd --permanent --zone=public --add-port=80/tcp success
[root@onlinesupport]# firewall-cmd --reload
Below are the commands which are to be used in centos 7 to open port 80
[root@onlinesupport ~]# firewall-cmd --permanent --zone=public --add-port=80/tcp success
[root@onlinesupport]# firewall-cmd --reload