This topic describes how to view the IP addresses of Elastic Compute Service (ECS) instances in the ECS console, including public IP addresses, elastic IP addresses (EIPs), primary private IP addresses, secondary private IP addresses, and IPv6 addresses.

View IP addresses on the Instances page

You can view the public IP addresses, EIPs, and primary private IP addresses of instances on the Instances page.

  1. Log on to the ECS console.
  2. In the left-side navigation pane, choose Instances & Images > Instances.
  3. In the top navigation bar, select a region.
  4. On the Instances page, find the instance whose IP addresses you want to view, and view the IP addresses in the IP Address column.
    Examples:
    • Public IP address: 47.98.XX.XX(Public)
    • EIP: 121.41.XX.XX(Elastic)
    • Primary private IP address: 172.16.XX.XX(Private)

View IP addresses on the Instance Details page

You can view the public IP addresses, EIPs, primary private IP addresses, secondary private IP addresses, and IPv6 addresses of instances on the Instance Details page.

  1. Log on to the ECS console.
  2. In the left-side navigation pane, choose Instances & Images > Instances.
  3. In the top navigation bar, select a region.
  4. On the Instances page, click the name of an instance in the Instance ID/Name column corresponding to the instance.
  5. On the Instance Details page, view the IP addresses of the instance.
    Examples:
    • Basic Information section:
      • Public IP: 47.98.XX.XX
      • EIP: 121.41.XX.XX
    • Network Information section:
      • Primary Private IP Address: 192.168.XX.XX
      • IPv6 Address: 2408:XXXX:325:a216:95f1:3dd9:6640:8b9e
      • Secondary Private IP Address: 192.168.XX.XX,192.168.XX.XX

View IP addresses on the Network Interfaces page

You can view the EIPs, primary private IP addresses, and secondary private IP addresses of instances on the Network Interfaces page.

  1. Log on to the ECS console.
  2. In the left-side navigation pane, choose Network & Security > ENIs.
  3. In the top navigation bar, select a region.
  4. On the Network Interfaces page, find an elastic network interface (ENI) bound to an instance and view the IP addresses in the Public IP Address and Private IP Address columns.
    Examples:
    • Public IP Address column: The associated EIP (if available) is displayed.
    • Private IP Address column:
      • Primary private IP address: 192.168.XX.XX(Primary)
      • Secondary private IP address: 192.168.XX.XX(Secondary)
        Note Multiple secondary private IP addresses for each ENI are displayed on separate lines.