Linux防火墙操作指令
firewall-cmd --list-ports # 查看开放的端口号
firewall-cmd --zone=public --add-port=8888/tcp --permanent # 开放对应端口号:8888
firewall-cmd --zone=public --remove-port=80/tcp --permanent # 关闭端口号
firewall-cmd --reload # 重启防火墙
systemctl status firewalld.service # 查看防火墙状态
systemctl stop firewalld.service # 关闭防火墙
systemctl disable firewalld.service # 永久关闭防火墙
systemctl enable firewalld.service # 开机启动防火墙