centos7 打开3306端口
firewall-cmd --zone=public --add-port=3306/tcp --permanent
firewall-cmd --reload
firewall-cmd --query-port=80/tcp(查询)
systemctl stop firewalld.service #停止
systemctl disable firewalld.service #禁用
centos7 打开3306端口
firewall-cmd --zone=public --add-port=3306/tcp --permanent
firewall-cmd --reload
firewall-cmd --query-port=80/tcp(查询)
systemctl stop firewalld.service #停止
systemctl disable firewalld.service #禁用
本文标题:centos7 打开端口
本文链接:https://www.haomeiwen.com/subject/pftfmttx.html
网友评论