Powered by MDUI & MDClub
查看当前已经开放的端口:
firewall-cmd --list-ports
开启端口,以8888为例:
firewall-cmd --zone=public --add-port=8888/tcp --permanent
重启防火墙:
firewall-cmd --reload
# 关闭防火墙
firewall systemctl stop firewalld.service
# 关闭防火墙开机启动
firewall sustemctl disable firewalld.service