Site icon Database Tutorials

A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

 

ERROR MESAGGE:

“An error has occurred while establishing a connection to the server. When connecting to SQL Server, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: TCP Provider, error: 0 – A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.) (Microsoft SQL Server, Error: 10060)”

EXPLANATION:

When I encountered this error message, I was trying to connect to SQL Server Instance on a virtual machine using an Alias.

The server and SQL Server Instance name were correct, but the port number was incorrect on the alias.

SOLUTION:

Make sure that the port number of the SQL Server Instance that you are trying to connect to is correct. For port number settings, you can use SQL Server Configuration Manager.

In my case, fixing the port number on the alia solved the problem.

You can find detailed information from the article titled “SQL Server Configuration Manager Settings

Exit mobile version