Help Center/ VPC Endpoint/ User Guide/ VPC Endpoints/ Accessing a VPC Endpoint Through Its Private IP Address or Private Domain Name
Updated on 2026-01-19 GMT+08:00

Accessing a VPC Endpoint Through Its Private IP Address or Private Domain Name

Scenarios

You can access a VPC endpoint through its private IP address or private domain name.

Constraints

One VPC endpoint supports up to 3,000 concurrent connections.

Accessing a VPC Endpoint Through Its Private IP Address

Perform the following operations to access a VPC endpoint through its private IP address:

  1. In the VPC where the VPC endpoint is deployed, log in to the backend resource, for example, an ECS.
  2. Select a command based on the backend resource type and run the command to access the VPC endpoint. The command format is as follows:

    Command Private IP address:Port number

    The following is a command example:

    curl Private IP address:Port number

Accessing a VPC Endpoint Through Its Private Domain Name

You can access a VPC endpoint through its private domain name if you select Create a Private Domain Name when buying the VPC endpoint.

The system automatically creates a private zone for the generated domain name and adds an A record set for the private zone to resolve the domain name into the private IP address of the VPC endpoint.

You can view the corresponding private zone and its resolution records on the DNS console.

  1. Check the record set of the private domain name.
    1. Log in to the management console.
    2. Hover the cursor over in the upper left corner. In the service list, choose Networking > Domain Name Service.

      The DNS console is displayed.

    3. Go to the VPC endpoint list page.
    4. In the private zone list, click the name of the target private zone.

      The Record Sets page is displayed.

    5. In the record set list, locate the A record set and view its information.

      When Status changes to Normal, the resolution takes effect.

  2. Accessing a VPC endpoint through its private domain name.
    1. In the VPC where the VPC endpoint is deployed, log in to the backend resource, for example, an ECS.
    2. Select a command based on the backend resource type and run the command to access the VPC endpoint. The command format is as follows:

      Command Private domain name:Port number

      The following is a command example:

      curl Private domain name:Port number