Connect to Azure SQL Server from VM

Chris Hall 21 Reputation points
2021-01-23T09:53:19.997+00:00

I can't connect to my Azure SQL Server from within my virtual machine. I have allowed access on the SQL Server firewall for any IP address and the virtual network thus:
59724-firewall.png
but I keep getting this error when trying to connect via SSMS or Azure Data Studio through remote desktop.
59765-sql-error.png
What else do I need to do?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
SQL Server | Other
{count} votes

Answer accepted by question author
  1. Vaibhav Chaudhari 38,971 Reputation points Volunteer Moderator
    2021-01-23T10:21:37.273+00:00

    Are you specifying the correct and full SQL server name?

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

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