The following error can be solved by configuring the firewall of Azure SQL Server. And to do that, these are the following steps you need to follow:
1. Select your SQL Server.
2. Click the Settings -> Firewall
3. After that you will be requested Add a new Rule.
4. Add a name and enter the IP address(or the range) that will access the database. note: Azure automatically detects your current IP.
Once it has been done, wait for sometimes and you are good to go.
I hope this will work.
Want to become an Azure Expert? join Azure Training now!!