Configure the firewall to allow network traffic that is related to SQL Server and to the SQL Server Browser service.
Four exceptions must be configured in Windows Firewall to allow access to SQL Server:
- A port exception for TCP Port 1433. In the New Inbound Rule Wizard dialog, use the following information to create a port exception:
- Select Port
- Select TCP and specify port 1433
- Allow the connection
- Choose all three profiles (Domain, Private & Public)
- Name the rule “SQL – TCP 1433”
- A port exception for UDP Port 1434. Click New Rule again and use the following information to create another port exception:
- Select Port
- Select UDP and specify port 1434
- Allow the connection
- Choose all three profiles (Domain, Private & Public)
- Name the rule “SQL – UDP 1434
- A program exception for sqlservr.exe. Click New Rule again and use the following information to create a program exception:
- Select Program
- Click Browse to select ‘sqlservr.exe’ at this location:
[C:\Program Files\Microsoft SQL Server\MSSQL11.<INSTANCE_NAME>\MSSQL\Binn\sqlservr.exe] where <INSTANCE_NAME> is the name of your SQL instance.
- Allow the connection
- Choose all three profiles (Domain, Private & Public)
- Name the rule SQL – sqlservr.exe
- A program exception for sqlbrowser.exe Click New Rule again and use the following information to create another program exception:
- Select Program
- Click Browse to select sqlbrowser.exe at this location: [C:\Program Files (x86)\Microsoft SQL Server\90\Shared\sqlbrowser.exe].
- Allow the connection
- Choose all three profiles (Domain, Private & Public)
- Name the rule SQL – sqlbrowser.exe