Linux关闭开启防火墙命令

在外部访问CentOS中部署应用时,需要关闭防火墙。

关闭防火墙命令:systemctl stop firewalld.service

开启防火墙:systemctl start firewalld.service

关闭开机自启动:systemctl disable firewalld.service

开启开机启动:systemctl enable firewalld.service

猜你喜欢

转载自www.cnblogs.com/MMSJ6/p/9056152.html