Skip to main content

OnlineSupport4u

Open port in Centos 7

By PrasadNaik
April 9, 2019
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