Help Center/ MapReduce Service/ FAQs/ Cluster Access/ How Can I Obtain the IP Address and Port Number of a ZooKeeper Instance?
Updated on 2022-09-14 GMT+08:00

How Can I Obtain the IP Address and Port Number of a ZooKeeper Instance?

You can obtain the IP address and port number of a ZooKeeper instance through the MRS console or FusionInsight Manager.

Method 1: Obtaining the IP address and port number of a ZooKeeper through the MRS console

  1. On the Dashboard page, click Synchronize on the right side of IAM User Sync to synchronize IAM users.
  2. Click the Components tab and choose ZooKeeper. On the displayed page, click Instances to view the business IP address of a ZooKeeper instance.
  3. Click the Service Configuration tab. On the displayed page, search for the clientPort parameter to view the port number of the ZooKeeper instance.

Method 2: Obtaining the IP address and port number of a ZooKeeper through FusionInsight Manager

  1. Log in to FusionInsight Manager. For details, see .
  2. Perform the following operations to obtain the IP address and port number of a ZooKeeper instance.
    • For clusters of MRS 3.x or earlier
      1. Choose Services > ZooKeeper. On the displayed page, click the Instance tab to view the business IP address of a ZooKeeper instance.
      2. Click the Service Configuration tab. On the displayed page, search for the clientPort parameter to view the port number of the ZooKeeper instance.
    • For clusters of MRS 3.x or later
      1. Choose Cluster > Services > ZooKeeper. On the displayed page, click the Instance tab to view the business IP address of a ZooKeeper instance.
      2. Click the Configurations tab. On the displayed page, search for the clientPort parameter to view the port number of the ZooKeeper instance.