Saturday, January 12, 2013

How to Expose/Access Sql Server to Internet

2 comments
Task - Expose Sel Server to Internet or Remote Access via IP
OS - Windows Server 2008 R2
Sql Version - Sql Server 2008 R2

To expose the server to internet we need open port for sql server (default port is 1433)

To open a port in the Windows firewall for TCP access

1. On the Start menu, click Run, type WF.msc, and then click OK.
2 . In the Windows Firewall with Advanced Security, in the left pane, right-click Inbound Rules, and then click New Rule in the action pane (upper right corner).
3. In the Rule Type dialog box, select Port, and then click Next.
4. In the Protocol and Ports dialog box, select TCP. Select Specific local ports, and then type the port number of the instance of the Database Engine, In my case we are using the default which is 1433. Click Next.
5. In the Action dialog box, select Allow the connection, and then click Next.
6. In the Profile dialog box, I am going to Leave Domain turned on and turn private and public off. Then click Next.
7. In the Name dialog box, type "Allow SQL 1433 Inbound” and for a description I am putting in the same. Then click Finish.

Then go to Sql Server Configuration Manager.
1. On the Start menu, Click Microsoft Sql Server 2008 R2
2. Click on Configuration Tools.
3. Sql Server Configuration Manager.

And follow the attached images




================================




Now you need to access the Sql server like "IP\sqlexpress" in name, please don't try only with IP address.


2 comments:

James Brown said...

I really appreciate this wonderful post that you have provided for us. I assure this would be beneficial for most of the people.
SEO services pakistan

Srinadh said...

A smallish campaign with a homemade list would not be likely to yield much of a result. To achieve anything worthwhile, a much more aggressive effort is needed. Then, the age-old value analysis applies: projected earnings = margin on total projected sales - cost of campaign.