Troubleshooting connections to your SQL Server DB instance
The following table shows error messages that you might encounter when you attempt to connect to your SQL Server DB instance.
Issue | Troubleshooting suggestions |
---|---|
|
Make sure that you specified the server name correctly. For Server name, enter the DNS name and port number of your sample DB instance, separated by a comma. ImportantIf you have a colon between the DNS name and port number, change the colon to a comma.
|
|
You were able to reach the DB instance but the connection was refused. This issue is usually caused by specifying the user name or password incorrectly. Verify the user name and password, then retry. |
A network-related or instance-specific error
occurred while establishing a connection to SQL Server. The server
was not found or was not accessible... The wait operation timed out
– Microsoft SQL Server, Error: 258 |
The access rules enforced by your local firewall and the IP addresses authorized to access your DB instance might not match. The problem is most likely the inbound rules in your security group. For more information, see Security in Amazon RDS. |
Your database instance must be publicly accessible. To connect to it from outside of the VPC, the instance must have a public IP address assigned. |
Note
For more information on connection issues, see Can't connect to Amazon RDS DB instance.