When you connect to an RDS instance, you must enter the internal and public endpoints and their corresponding port numbers. This topic describes how to view and modify the internal and public endpoints and ports of an ApsaraDB for RDS instance in the ApsaraDB for RDS console.

View the internal and public endpoints and ports

  1. Log on to the ApsaraDB for RDS console.
  2. In the upper-left corner of the page, select the region where the target instance is located.Select a region
  3. Find the target RDS instance and click its ID. The Basic Information page appears.
  4. On the Basic Information page that appears, view the internal and public endpoints and their corresponding port numbers, as shown in the following figure.
    Note
    • You must configure the whitelist of the instance to display the endpoint information.
    • Only after you have applied for a public endpoint, you can view this information on the Basic Information page.

Modify the internal and public endpoints and ports

  1. Log on to the ApsaraDB for RDS console.
  2. In the upper-left corner of the page, select the region where the instance is located.Select a region
  3. Find the target RDS instance and click the instance ID.
  4. In the left-side navigation pane, click Database Connection.
  5. In the upper-right corner of the Database Connection section, click Change Endpoint.
  6. In the dialog box that appears, specify Connection Type, modify the endpoint and port, and click OK.
    Note
    • The prefix of the endpoint must be 8 to 64 characters in length and can contain letters, digits, and hyphens (-). It must start with a lowercase letter.
    • The port number must be within the range of 1000 to 5999.

FAQ

  • Do I need to modify the endpoint or port in my application after I modify the endpoint or port of an instance?

    You must modify the endpoint or port in the application after you have modified them. Otherwise, the application cannot connect to databases of the instance.

  • Does the modification of the endpoint or port take effect immediately? Do I need to restart the instance?

    You do not need to restart the instance. The modification takes effect immediately.

  • Can I use the original endpoint of an instance in another instance after the original endpoint is modified or released?

    Yes.

References

For more information about how to enable, modify, and disable a proxy endpoint, see Dedicated proxy.