| title | Server-Level Firewall Rules | ||
|---|---|---|---|
| description | Server-level firewall rules | ||
| author | dalechen | ||
| ms.author | ninarn | ||
| ms.reviewer | randolphwest | ||
| ms.date | 01/14/2025 | ||
| ms.service | azure-sql-database | ||
| ms.topic | include | ||
| ms.custom |
|
||
| keywords |
|
-
Sign in to the Azure portal.
-
In the list on the left, select All services.
-
Scroll and select SQL servers.
:::image type="content" source="media/sql-database-include-ip-address-22-v12portal/firewall-ip-b21-v12portal-findsvr.png" alt-text="Screenshot of Find your Azure SQL Database server in the portal." lightbox="media/sql-database-include-ip-address-22-v12portal/firewall-ip-b21-v12portal-findsvr.png":::
-
In the filter text box, start typing the name of your server. Your row is displayed.
-
Select the row for your server. A pane for your server is displayed.
-
On your server pane, select Settings.
-
Select Firewall.
:::image type="content" source="media/sql-database-include-ip-address-22-v12portal/firewall-ip-b31-v12portal-settingsfirewall.png" alt-text="Screenshot of Select Settings > Firewall." lightbox="media/sql-database-include-ip-address-22-v12portal/firewall-ip-b31-v12portal-settingsfirewall.png":::
-
Select Add Client IP. Type a name for your new rule in the first text box.
-
Type in the low and high IP address values for the range you want to enable.
- It can be handy to have the low value end with
.0and the high value end with.255.
- It can be handy to have the low value end with
-
Select Save.