Azure SQL server not connecting

Microsoft Tech for Social Impact 0 Reputation points Microsoft Employee
2024-03-22T18:38:32.1433333+00:00

Microsoft SQL : A network related or an instance-specific error occurred while establishing a connection to SQL Server

Azure SQL Database
SQL Server | Other
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Azar 29,520 Reputation points MVP Volunteer Moderator
    2024-03-22T18:52:18.92+00:00

    Hi there Microsoft Tech for Social Impact

    thanks for posting the question in QandA platform

    A network-related or instance-specific error occurred while establishing a connection to SQL Server. Verify that the instance name is correct and that SQL Server is configured to allow remote connections.

    to troubleshoot this please follow the documentation link below

    https://learn.microsoft.com/en-us/troubleshoot/sql/database-engine/connect/network-related-or-instance-specific-error-occurred-while-establishing-connection

    If this helps kindly accept the answer thanks much.

    0 comments No comments

  2. Olaf Helper 47,516 Reputation points
    2024-03-22T18:52:34.79+00:00

    Then there is a mistake in the connection string, like wrong server name or other details.

    Lookup the correct connect string in your Azure Portal.

    Or access is blocked by a Firewall, either a local or on Azure.

    0 comments No comments

  3. RahulRandive 10,486 Reputation points Volunteer Moderator
    2024-03-22T19:35:08.1633333+00:00

    Hi @Microsoft Tech for Social Impact

    To get the meaningful networking error message, please run the Azure SQL-Connectivity-Checker.

    The PowerShell script will run some connectivity checks from your machine to the server and database.

    https://github.com/Azure/SQL-Connectivity-Checker

    Thank You!

     

    0 comments No comments

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.