Error 10060: Configure Azure NSG for Azure DB and Azure DW Connectivity

Jonpier Veliz 0 Reputation points
2023-03-28T17:33:22.37+00:00

I have created an Azure SQL server and database and am trying to connect through SQL Server Management Studio. I am not able to connect and get the following error message: TITLE: Connect to Server


ADDITIONAL INFORMATION:

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to 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)

For help, click: https://docs.microsoft.com/sql/relational-databases/errors-events/mssqlserver-10060-database-engine-error


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


BUTTONS:

OK


I have set a firework rule to my client IP address. I think this has something to do with port access.

I appreciate any help.

SQL Server on Azure Virtual Machines
Azure SQL Database
{count} votes

1 answer

Sort by: Most helpful
  1. Alberto Morillo 34,041 Reputation points MVP
    2023-03-29T02:57:39.22+00:00

    If you are trying to connect from a company network make sure TCP port 1433 is not blocked. You can also try to connect outside the corporate network using a WIFI intended for guests.

    Make sure Windows Firewall or other security software on your computer, or a home router do not have port 1433 blocked also.

    Another possibility is that the error is caused by DNS resolution as explained here. About Error 121 please read this Stackoverflow thread. Please enable Public Network access as explained here and add your Public IP Address to the list of allowed IPs.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.