您的位置:首页 > 运维架构 > Linux

关闭Centos7的防火墙

2016-03-15 15:55 495 查看
在Centos7 64下部署RocketMQ,但客户端发送信息失败,在nameserver上安装了个tomcat,在nameserver上浏览tomcat没问题,在其他设备上就打不开,那肯定是防火墙问题了,先关掉。

Centos7的防火墙用firewalld.service,而不是iptable……

systemctl stop firewalld.service

systemctl disable firewalld.service

而如果是其他系统,关闭iptables的命令是:

systemctl disable iptables.service
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: