How to Expose/Access Sql Server to Internet

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.


Share:

10 comments:

james brownn 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

professional team said...

Using the appropriate commands will direct the primary key in the right direction. It is necessary for the subsequent successful result

awa said...

I was more than happy to uncover this great site. I need to to thank you for your time due to this fantastic read!! I definitely enjoyed every bit of it and I have you bookmarked to see new information on your blog.
BEST IT COMPANY IN LAHORE PAKISTAN

https://best2in1laptopunder300.com/ said...

Amazing and information post check amazon product related post. I really appreciate this wonderful post that you have provided for us

bogsspecialist said...

I was more than happy to uncover this great site. I need to thank you for your time due to this fantastic read!!
I definitely enjoyed every bit of it and I have you bookmarked to see new information on your blog.
Classified WordPress Theme

bogsspecialist said...

I was more than happy to uncover this great site. I need to thank you for your time due to this fantastic read!!
I definitely enjoyed every bit of it and I have you bookmarked to see new information on your blog.
Freelance Marketplace WordPress Theme

bogsspecialist said...

I was more than happy to uncover this great site. I need to thank you for your time due to this fantastic read!!
I definitely enjoyed every bit of it and I have you bookmarked to see new information on your blog.
Freelance Marketplace WordPress Theme

bogsspecialist said...

I was more than happy to uncover this great site. I need to thank you for your time due to this fantastic read!!
I definitely enjoyed every bit of it and I have you bookmarked to see new information on your blog.
WordPress Chat Plugin

Peter hollens said...
This comment has been removed by the author.
Peter hollens said...

All of the above products are of high quality and would be ideal for gaming and high-end software applications, but if you must select one of, best graphics cards for under 300, you must choose MSI Gaming GeForce RTX 2060. When it comes to this graphics card’s style, it is very slim and futuristic, which appeals to many users.