- Documentation
Elastic Compute Service
Elastic Compute Service
User Guide
Network
Network interface and IP address
IP Address
Viewing IPv4/IPv6 addresses
IP Address
Viewing IPv4/IPv6 addresses
Viewing IPv4/IPv6 addresses
This topic describes how to view the IP addresses of ECS instances.
View the IP address assigned to an ECS instance
- In the left-side navigation pane, select "Instances & Images > Instances".
- In the top menu bar, select the project and region of the target ECS instance.
- On the Instances page, click the name of the target ECS instance.
- On the "Network Interface" tab, click the name of the target network interface.
- View the IPv4/IPv6 addresses of multiple network interfaces of the ECS instance as shown in the following figure.
View the IP address identified by an ECS instance
- Log in to an ECS instance via remote connection.
- Enter the IP address viewing command in the command line. For CentOS systems, execute the ip address show command. Sample output:
-
- If an IP address exception is detected, you can handle it based on the following scenarios.
Last updated: 2026.06.18 17:49:50