[Solved] Rocketmq console connect to x.x.x.x:10911 failed Error

Borker start

When the broker starts, it is found that port 10911 is the IP address of the docker

Then the rocketmq console also reports an error

Rocketmq console connection x.x.0.1:10911, connection error

brokerIP1

# The ip of x.x.0.1 was retrieved through this
String brokerIP1 = RemotingUtil.getLocalAddress()

Solution:

New broker.properties

brokerIP1 = 192.168.5.1

start-up

nohup sh bin/mqbroker -n 192.168.5.1:9876 -c broker.properties & tail -f ~/logs/rocketmqlogs/broker.log 

Read More: