The possible causes for this may be the following:
- The cluster is not in the ‘available’ state.
- The cluster was created in a private subnet, and no NAT gateway is attached to this private subnet. You try to connect from outside the private subnet.
- The security groups associated with the clusters do not allow connections from your source IP.
- You use an incorrect JDBC/ODBC URL or port number for connecting to the cluster.