A. Scene
For this may often use Linux system students are not unfamiliar, there are many online. But most of them are operation Iptables, thank the author to share. These are not what I want to say, what I want to say is:
Since I am using the CentOS 7 64-bit operating system, there is no iptables file, so you know.
Two. Resolve
Centos 7 default installation firewall for firewall
Detailed Description:
Switch Service
Systemctl Start Firewalld.service
Systemctl Stop Firewalld.service
Emergency mode: Off-grid
Firewall-cmd--panic-on Open
Firewall-cmd--panic-off off
Firewall-cmd Related introduction:
http://my.oschina.net/fhd/blog/413945
Firewall-cmd using:
Open port
Firewall-cmd--zone=public--add-port=80/tcp--permanent command meaning:--zone scope--add-port=80/tcp Add port in the format: Port/ Communication protocol--permanent Permanent, no failure after this parameter restart
Centos 7 Open Port issue