CENTOS closes the firewall

Operating system environment: CentOS Linux release 7.0.1406 (Core) 64-bit
CentOS 7.0 uses firewall as the firewall by default, here is the iptables firewall step.

1. Turn off the firewall:
systemctl stop firewalld.service #停止firewall
systemctl disable firewalld.service #Prohibit firewall from starting
firewall-cmd --state #View the default firewall status (notrunning is displayed when it is closed, and running is displayed when it is opened)

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326355770&siteId=291194637