When trying to connect to my Azure Sql Database from SSMS on my client machine, I get the following error:
The public data endpoint on this server is not accessible. To connect to this server, use the Private Endpoint from inside your virtual network
My Azure Sql server firewall settings seem to be correct:
In the 1st rule, the start & end IP addresses are equal to the IP address of my azure web app, which btw manages to connect ok.
In the 2nd rule, the start & end IP addresses are equal to the IP address of my client machine.
The problem started a couple of days ago, until then I had no problem connecting from SSMS.
Some additional points:
- Using an online open port checker, I verified that port 1433 is open on the domain <mysqlserver>.database.windows.net
- On the same client machine, in the Windows ODBC adminstrator, I have a DSN that points to the same database - it connects ok. But if I define a new DSN, with the same settings, it receives the same error as in SSMS above.
- I don't know if this is related, but when I try to change any of the settings in the Azure Sql server "Firewalls and virtual networks" page (photographed above), most of the times the changes aren't saved. The activity log shows that the operation timed out. I reported this issue in the MS forum but haven't yet received any helpful reply.