This document describes how to obtain the public IP address of a CVM instance.
The public IP address is mapped to the private IP address through NAT. Therefore if you view the network interface attributes from within the instance (such as by using
ipconfig (Windows)commands), the public IP address is not displayed. To obtain the public IP from within the instance, you need to check the instance metadata.
Check the public IP in the result: