All Products
Search
Document Center

Bastionhost:Database connection issues

Last Updated:Mar 31, 2026

Bastionhost fails to access ApsaraDB RDS

The reason for the failure may be that the egress IP address of your Bastionhost instance is not added to the IP whitelist of the ApsaraDB RDS database. Add the egress IP address to the whitelist to resolve the issue.

Step 1: Find the egress IP address of your Bastionhost instance.

  1. Log on to the Bastionhost console.

  2. On the Instances page, locate your instance. The egress IP address is displayed on the Instances page.

    Egress IP address

Step 2: Add the egress IP address to the ApsaraDB RDS IP whitelist.

Follow the instructions in Configure IP address whitelist to add the egress IP address to your ApsaraDB RDS database.