Thursday , April 25 2024

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

Loading

About Ekrem Önsoy

The original article was written in Turkish by Ekrem Önsoy and translated to English by dbtut with the consent of the author. The copyright of the article belongs to the author. The author shall not be liable in any way for any defect caused by translation.

Leave a Reply

Your email address will not be published. Required fields are marked *

Categories