Caused by: org.apache.rocketmq.remoting.exception.RemotingConnectException: connect to <172.19.0.1:10909> failed
时间: 2023-10-17 15:01:25 浏览: 177
这个错误是由于连接到 `<172.19.0.1:10909>` 失败导致的。根据引用,在RocketMQ中手动添加一个新的topic可能会解决此问题。您可以尝试使用以下命令在RocketMQ中添加一个新的topic:
```
sh mqadmin updateTopic -n XXX:9876 -b XXX:10911 -t ESOrderListTopic
```
引用提到,该错误通常是因为您无法访问指定的IP和端口。请确保您在`application.yml`中正确配置了RocketMQ的服务器地址。此外,还需要确保您的程序和RocketMQ不在同一台机器上,您的本地机器无法访问该IP。在这种情况下,您可以尝试在`config/broker.conf`配置文件中添加以下内容来解决此错误:
```
brokerIP1=服务器地址
namesrvAddr = 服务器地址:9876
```
通过这些步骤,您可以尝试解决该错误并重新连接到RocketMQ服务器。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [rocketMQ 踩坑解决No route info of this topic和rocketmq:connect to 172.17.42.1:10911 failed](https://blog.csdn.net/weixin_44607885/article/details/103137280)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [Caused by: org.apache.rocketmq.remoting.exception.RemotingConnectException: connect to 10.244.2.0:10](https://blog.csdn.net/weixin_44379605/article/details/128135104)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文