关闭Centos7的防火墙

来源:互联网 发布:photoshop绘画软件 编辑:程序博客网 时间:2024/05/10 03:07

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

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

    systemctl stop firewalld.service

    systemctl disable firewalld.service


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

    systemctl disable iptables.service


0 0
原创粉丝点击