tencent cloud


Getting Public IP Addresses

Last updated: 2022-05-26 11:40:28


    This document describes how to obtain the public IP address of a CVM instance.


    1. Log in to the CVM console.
    2. On the instance management page, proceed according to the actually used view mode:
    • List view: In the primary IP column, click to copy the IP.
    • Tab view: On the instance page, click after the public network address in "IP Address" to copy the public IP.


    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 ifconfig (Linux) or 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.

    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support