How to fix access to sql server?

James R 0 Reputation points
2025-12-13T21:38:07.2066667+00:00

My Error:

Cannot open server 'test-sqlserver' requested by the login. Client with IP address 'x.xx.xx.xx' is not allowed to access the server. To enable access, use the Azure Management Portal or run sp_set_firewall_rule on the master database to create a firewall rule for this IP address or address range. It may take up to five minutes for this change to take effect.

I've added my IP tried to do all of them and it still doesn't let me connect. I would love expert help.

I thank you in advance.
Screenshot 2025-12-13 at 4.34.49 PM

Azure SQL Database
{count} votes

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.