Linux关闭开启防火墙命令

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

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

开启防火墙:systemctl start firewalld.service

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

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

posted @ 2018-05-18 14:47  木卯三金  阅读(5259)  评论(0编辑  收藏  举报