CentOS 7 开放防火墙端口命令,使用方法如下: firewall-cmd --state #查看防火墙状态,是否是running 关闭防火墙 systemctl stop firewalld systemctl stop firewalld.service #停止firewall system