firewall-cmd --zone=public --add-port=80/tcp --permanent firewall-cmd --reload 转载于:https://www.cnblogs.com/zlbrother/p/9101043.html