CentOS7开放防火墙端口

~~~~~~~~~~~~
开放某个端口
~~~~~~~~~~~~
firewall-cmd --zone=public --add-port=6669/tcp --permanent
firewall-cmd --reload

systemctl start firewalld
systemctl stop firewalld

posted @ 2019-07-19 10:27  道霖  阅读(139)  评论(0编辑  收藏  举报