关闭Linux的防火墙
1:查看防火状态
systemctl status firewalld
2:暂时关闭防火墙
systemctl stop firewalld.service
3:永久关闭防火墙
systemctl stop firewalld.service
systemctl disable firewalld.service # 禁止开机启动
4:重启防火墙
systemctl enable firewalld.service
1:查看防火状态
systemctl status firewalld
2:暂时关闭防火墙
systemctl stop firewalld.service
3:永久关闭防火墙
systemctl stop firewalld.service
systemctl disable firewalld.service # 禁止开机启动
4:重启防火墙
systemctl enable firewalld.service