You must use internal or public endpoints and ports to connect to an RDS instance. This topic describes how to view and change the internal and public endpoints and ports of an RDS instance.

Procedure

  1. Log on to the RDS console.
  2. In the upper-left corner, select the region where the target RDS instance is located.选择地域
  3. Find the target RDS instance and click the instance ID.
  4. On the Basic Information page, find the Basic Information section, where you can view the internal and public endpoints and ports of the RDS instance.
    Note
    • The internal and public endpoints are displayed only after you configure a whitelist.
    • The public endpoint is displayed only after you apply for it.
    查看内外网地址和端口信息

FAQ

  • Do I need to change the endpoints and ports for my application after I change them for the RDS instance?

    Yes, if you do not change the endpoints and ports for your application, it fails to connect to the database.

  • Do the changes to endpoints and ports immediately take effect? Do I need to restart the instance?

    The changes immediately take effect. You do not need to restart the instance.

  • After I change or release an endpoint of one instance, can I use the endpoint for another instance?

    Yes, the original endpoint becomes available to other instances after you change or release it.