CentOS7开放防火墙端口

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

systemctl start firewalld
systemctl stop firewalld

猜你喜欢

转载自www.cnblogs.com/t-road/p/11211721.html