centos7 开放端口号

firewall-cmd --zone=public --add-port=80/tcp --permanent
firewall-cmd --reload
原文地址:https://www.cnblogs.com/xiaojf/p/7010156.html