开关防火墙://关闭firewalld防火墙systemctl stop firewalld//关闭iptables 防火墙 service iptables stop 开放端口://在iptables 放通端口iptables -I INPUT -p tcp --dport 80 -j ACCEPT//在firewall 放通端口firewall-cmd --zone =public --add-port=80/tcp --permanent