Cannot open server ‘’ requested by the login. Client with IP Address ‘X.X.X.X’ is not allowed to access the server.

Cannot open server ‘<servername>’ requested by the login. Client with IP Address ‘X.X.X.X’ is not allowed to access the server.  To enable access, use the Windows 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. (Microsoft SQL Server, Error: 40615)

Azure Service: SQL Database

Solution: Click on Set Server Firewall under the Azure SQL Database and then add your IP Address by giving name rule name and your ip address as start ip and end ip

Add Comment