在Centos7 64下部署RocketMQ,但客户端发送信息失败,在nameserver上安装了个tomcat,在nameserver上浏览tomcat没问题,在其他设备上就打不开,那肯定是防火墙问题了,先关掉。
Centos7的防火墙用firewalld.service,而不是iptable……
systemctl stop firewalld.service
systemctl disable firewalld.service
而如果是其他系统,关闭iptables的命令是:
systemctl disable iptables.service