关于rocketmq链接报错

Caused by: org.apache.rocketmq.remoting.exception.RemotingConnectException: connect to <172.17.0.2: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 &