Caused by: org.apache.rocketmq.remoting.exception.RemotingConnectException: connect to

关于rocketmq链接报错

Caused by: org.apache.rocketmq.remoting.exception.RemotingConnectException: connect to <177.17.6.6:10911> failed

进入/usr/local/rocketmq/bin下,生成broker默认配置模版

sh mqbroker -m > broker.p

修改配置文件broker.p

brokerIp1=192.168.1.23

重新启动mqbroker

nohup sh mqbroker -n 192.168.1.23:9876 -c broker.p autoCreateTopicEnable=true > /home/logs/rocketmqlogs/broker.log 2>&1 &

2、关闭防火墙!!!!!!亲测

centos 7:
systemctl stop firewalld
关闭防火墙 

你可能感兴趣的:(error,and,debug)