rocketmq启动broker报错

做了多Master多Slave模式(同步)的集群,不过启动Master的broker的时候,没有报任何错误,但是当启动Slave的broker的时候报如下的错误:org.apache.rocketmq.remoting.exception.RemotingConnectException: connect to rocketmq-nameserver1:9876 failed at org.apache.rocketmq.remoting.netty.NettyRemotingClient.invokeSync(NettyRemotingClient.java:392) ~[rocketmq-remoting-4.4.0.jar:4.4.0] at org.apache.rocketmq.broker.out.BrokerOuterAPI.unregisterBroker(BrokerOuterAPI.java:248) ~[rocketmq-broker-4.4.0.jar:4.4.0] at org.apache.rocketmq.broker.out.BrokerOuterAPI.unregisterBrokerAll(BrokerOuterAPI.java:225) ~[rocketmq-broker-4.4.0.jar:4.4.0] at org.apache.rocketmq.broker.BrokerController.unregisterBrokerAll(BrokerController.java:814) [rocketmq-broker-4.4.0.jar:4.4.0] at org.apache.rocketmq.broker.BrokerController.shutdown(BrokerController.java:757) [rocketmq-broker-4.4.0.jar:4.4.0] at org.apache.rocketmq.broker.BrokerStartup$1.run(BrokerStartup.java:235) [rocketmq-broker-4.4.0.jar:4.4.0] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_121] 2020-03-16 17:02:54 WARN ShutdownHook - unregisterBroker Exception, rocketmq-nameserver2:9876 org.apache.rocketmq.remoting.exception.RemotingConnectException: connect to rocketmq-nameserver2:9876 failed at org.apache.rocketmq.remoting.netty.NettyRemotingClient.invokeSync(NettyRemotingClient.java:392) ~[rocketmq-remoting-4.4.0.jar:4.4.0] at org.apache.rocketmq.broker.out.BrokerOuterAPI.unregisterBroker(BrokerOuterAPI.java:248) ~[rocketmq-broker-4.4.0.jar:4.4.0] at org.apache.rocketmq.broker.out.BrokerOuterAPI.unregisterBrokerAll(BrokerOuterAPI.java:225) ~[rocketmq-broker-4.4.0.jar:4.4.0] at org.apache.rocketmq.broker.BrokerController.unregisterBrokerAll(BrokerController.java:814) [rocketmq-broker-4.4.0.jar:4.4.0] at org.apache.rocketmq.broker.BrokerController.shutdown(BrokerController.java:757) [rocketmq-broker-4.4.0.jar:4.4.0] at org.apache.rocketmq.broker.BrokerStartup$1.run(BrokerStartup.java:235) [rocketmq-broker-4.4.0.jar:4.4.0] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_121]

请问大佬们知道原因吗?

请先 登录 后评论