- Your Alibaba Cloud Elastic Cloud Service (ECS) instance and the Message Queue for Apache RocketMQ broker are not in the same region.
- You may have accessed the Message Queue for Apache RocketMQ service on a non-Alibaba Cloud ECS instance, and the topic you created does not support access by instances that are not Alibaba Cloud ECS instances.
Perform the following steps:
- Ensure that your ECS instance and the topic are in the same region.
- If you want to access Message Queue for Apache RocketMQ from an instance that is not the Alibaba Cloud ECS instance, make sure that the region of the topic is Internet.