Help Center> GaussDB> FAQs> Database Connections> What Should I Do If an ECS Cannot Connect to a GaussDB Instance Through a Private Network?
Updated on 2023-10-12 GMT+08:00

What Should I Do If an ECS Cannot Connect to a GaussDB Instance Through a Private Network?

Perform the following steps to locate the problem:

  1. Check whether the ECS and the GaussDB instance are in the same VPC.

    • If yes, go to 2.
    • If they are in different VPCs, create an ECS instance in the same VPC as the GaussDB instance.

  2. Check whether the security group rules of the ECS are appropriate.

    For details, see Configuring Security Group Rules. Then, go to 3.

  3. On the ECS, check whether the GaussDB instance port can be connected.

    The default port number of a GaussDB instance is 8000.

    telnet <IP address> {port number}
    • If the ECS can connect to the DB instance, no further action is required.
    • If the ECS still cannot connect to the DB instance, contact technical support.

Database Connections FAQs

more