Sql Server Firewall Rule
Open Power shell as administrator and run these commands
New-NetFirewallRule -DisplayName “SQL Server TCP 1433” -Direction Inbound -LocalPort 1433 -Protocol TCP -Action Allow
New-NetFirewallRule -DisplayName “SQL Browser UDP 1434” -Direction Inbound -LocalPort 1434 -Protocol UDP -Action Allow
Change the path below as required
New-NetFirewallRule -Program “C:\Program Files (x86)\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\sqlservr.exe” -Action Allow -Direction Inbound -Profile Any -Name “SQL Server Executable”