Files
doc-exports/docs/dms_rocketmq/umn/hrm-ug-033.html
chenjunjie 6c66276520 RocketMQ UMN 20250911 version
Reviewed-by: Liudmila Denisova <ldenisov@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-authored-by: chenjunjie <chenjunjie@huawei.com>
Co-committed-by: chenjunjie <chenjunjie@huawei.com>
2026-03-18 14:47:34 +00:00

13 KiB

Configuring Public Access for a RocketMQ Instance

To access a RocketMQ instance over a public network, enable public access and configure EIPs for the instance. If you no longer need public access to the instance, disable it.

Notes and Constraints

Only IPv4 EIPs can be bound to RocketMQ instances.

Prerequisite

You can change the public access setting only when the RocketMQ instance is in the Running state.

Enabling Public Access

  1. Log in to the console.
  2. Click in the upper left corner to select a region.

    DMS instances in different regions cannot communicate with each other over an intranet. Select a nearest location for low latency and fast access.

  3. Click and choose Application > Distributed Message Service for RocketMQ to open the DMS for RocketMQ page.
  4. Click a RocketMQ instance name to go to the instance overview page.
  5. Click next to Public Access in the Connection area.
  6. Click , in the Elastic IP Address area, select IP addresses as prompted, and click .

    If no EIP exists in the Elastic IP Address drop-down list box, or the EIPs are insufficient, click Create Elastic IP to create an EIP on the page that is displayed. After the EIP is created, return to the RocketMQ console, click next to Elastic IP Address, and select the new EIP from the drop-down list.

    After public access is enabled, Instance Address (Public Network) and gRPC Connection Address will be displayed for a RocketMQ instance.

    Figure 1 Instance address (public network)

    After public access is enabled, modify security group rules before attempting to access the RocketMQ instance.

    Table 1 Security group rules

    Direction

    Protocol

    Port

    Source

    Description

    Inbound

    TCP

    8200

    IP address or IP address group of the RocketMQ client

    The port is used for public network access to instances using TCP.

    Inbound

    TCP

    8081

    The port is used for public network access to instances using gRPC.

    Inbound

    TCP

    10101

    The port is used for public access to service nodes using TCP.

Disabling Public Access

  1. Log in to the console.
  2. Click in the upper left corner to select a region.

    DMS instances in different regions cannot communicate with each other over an intranet. Select a nearest location for low latency and fast access.

  3. Click and choose Application > Distributed Message Service for RocketMQ to open the DMS for RocketMQ page.
  4. Click a RocketMQ instance name to go to the instance overview page.
  5. Click next to Public Access in the Connection area.
  6. Click and then to disable public access.

    After public access is disabled, modify security group rules before attempting to access the RocketMQ instance over a private network.

    Table 2 Security group rules

    Direction

    Protocol

    Port

    Source

    Description

    Inbound

    TCP

    8100

    IP address or IP address group of the RocketMQ client

    The port is used for private network access to instances using TCP.

    Inbound

    TCP

    8080

    The port is used for private network access to instances using gRPC.

    Inbound

    TCP

    10100

    The port is used for private access to service nodes using TCP.

<script language="JavaScript"> </script>