SQL Firewall Ports

To enable the incoming firewall ports for SQL (1433, 1434), run this script from elevated PowerShell:

# Create SQL Firewall Rules
New-NetFirewallRule -DisplayName "SQLServer default instance" -Direction Inbound -LocalPort 1433 -Protocol TCP -Action Allow
New-NetFirewallRule -DisplayName "SQLServer Browser service" -Direction Inbound -LocalPort 1434 -Protocol UDP -Action Allowpo

Last updated