Setting Up the Firewall on Local System/Computer to Connect to SQL Azure


If we want to connect to SQL Azure from a local system then we need to create an exception in the local firewall for TCP port 1433.

Follow the following steps to create Exception on Windows 7 machine

Step 1

Click on Start button and then in Search text box type Firewall.

Firewell1.gif

Step 2

You will see on the top under Program tab, Windows Firewall with advanced security

Firewell2.gif

Step 3

Right click on Windows firewall advanced security and select run as administrator

Firewell3.gif

Step 4

You will get the following window

Firewell4.gif

Step 5

Click on OutBound rules and then create on New Rules

Firewell5.gif

Step 6

Now select PORT radio button and click Next

Firewell6.gif

Step 7

Select TCP and Specific Remote port radio button.

In specific port address give port number 1433 to allow local system to connect to SQL Azure.

Firewell7.gif

Step 8

Click Next , select Allow the Connection radio button.

Firewell8.gif

Step 9
 
Click next and select all the options in the checkboxes.

Firewell9.gif

Step 10

Click Next then give name and description to rule and click on Finish button

Firewell10.gif

Now after this step we have created rule at local firewall to connect to SQL Azure
  

Up Next
    Ebook Download
    View all
    Learn
    View all