To control access to the Azure SQL Server using a firewall, perform the following steps:
- Navigate to the Azure portal.
- In All services, search for SQL servers.
- Click on it and a new blade will be opened, where all Azure SQL Servers you have will be displayed.
- Select the one you want to set firewall rules to.
- A new blade will be opened. Navigate to Firewalls and virtual networks.
- A new blade will be opened, where you can specify the following:
- You can specify whether to allow access to all Azure services or not.
- You can specify the public IP addresses for the clients that are going to connect to this SQL Server. If you wish to add the IP address of the machine you are using, you can click on Add client ...