| Windows 7: Remote Access to SQL Server Express 2008 Windows 7 |
26 Jan 2010
|
#1 | | |
Remote Access to SQL Server Express 2008 Windows 7 Hello,
I have installed SQL Server Express 2008 on my desktop and am attempting to connect to it from my lap top. I have enabled remote connections for SQL Server and opened up a port on my desktop. When I attempt to connect to the server instance from my laptop via ipaddress\sqlserver with the Windows 7 firewall turned on and the port open, the attempt fails. However, if I turn off the firewall and attempt to connect via my laptop the connection is successfull.
I followed the steps to open up the port: - To enable port 1433 on Windows 7
- On the Start menu, click Control Panel.
- Click System and Security.
- Click Windows Firewall.
- Click Advanced Settings.
- In the Windows Firewall with Advanced Security on Local Computer dialog, click Inbound Rules.
- In the Actions panel, click New Rule….
- In the New Inbound Rule Wizard, click Port, and then click Next.
- In the Specific local ports: box type 1433. Ensure that the (default) TCP radio button is selected and then click Next.
- Ensure that the (default) Allow the Connection radio button is selected and then click Next.
- Clear or select the Domain, Private, and Public checkboxes as appropriate, and then click Next.
- In the Name box, type an appropriate name, such as SQL Server Port, and then click Finish.
Can anyone offer up any suggestion on why I can connect with the firewall turned off, but not when it is on?
Any suggestions are greatly appreciated!
Win7Newb | My System Specs |
| |
26 Jan 2010
|
#2 | | Windows 7 Ultimate - 64-bit | Windows 8 Pro - 64-bit |

Quote: Originally Posted by win7newb Hello,
I have installed SQL Server Express 2008 on my desktop and am attempting to connect to it from my lap top. I have enabled remote connections for SQL Server and opened up a port on my desktop. When I attempt to connect to the server instance from my laptop via ipaddress\sqlserver with the Windows 7 firewall turned on and the port open, the attempt fails. However, if I turn off the firewall and attempt to connect via my laptop the connection is successfull.
I followed the steps to open up the port: - To enable port 1433 on Windows 7
- On the Start menu, click Control Panel.
- Click System and Security.
- Click Windows Firewall.
- Click Advanced Settings.
- In the Windows Firewall with Advanced Security on Local Computer dialog, click Inbound Rules.
- In the Actions panel, click New Rule….
- In the New Inbound Rule Wizard, click Port, and then click Next.
- In the Specific local ports: box type 1433. Ensure that the (default) TCP radio button is selected and then click Next.
- Ensure that the (default) Allow the Connection radio button is selected and then click Next.
- Clear or select the Domain, Private, and Public checkboxes as appropriate, and then click Next.
- In the Name box, type an appropriate name, such as SQL Server Port, and then click Finish.
Can anyone offer up any suggestion on why I can connect with the firewall turned off, but not when it is on?
Any suggestions are greatly appreciated!
Win7Newb Hi, Welcome to SF,
You also wanna open the UDP port number 1434 and restart the Computer. Also
C:\Program Files\Microsoft SQL Server\MSSQL.x\MSSQL\Binn\SQLSERV.exe
C:\Program Files\Microsoft SQL Server\90\Shared\SQLBrowser.exe
For more info: http://msdn.microsoft.com/en-us/library/cc646023.aspx
Hope this helps,
Captain | My System Specs | | System Manufacturer/Model Number Samsung NP550P5C-S02IN OS Windows 7 Ultimate - 64-bit | Windows 8 Pro - 64-bit CPU Intel® Core™ i7 Processor 3,610QM (2.30Hz, 6MB L3 Cach Memory 8 GB Graphics Card NVIDIA® GeForce® GT 650M 2GB Graphics, Optimus™ techno Sound Card SoundAlive™ JBL 3 Speakers (With sub-Woofer) Monitor(s) Displays 39.62cm (15.6) SuperBright 300nit HD+ LED Display Screen Resolution 1,600 x 900, Anti-Reflective Hard Drives 1TB S-ATA II Hard Drive (5,400RPM) |
26 Jan 2010
|
#3 | | |
Quote: You also wanna open the UDP port number 1434 and restart the Computer. Also
C:\Program Files\Microsoft SQL Server\MSSQL.x\MSSQL\Binn\SQLSERV.exe
C:\Program Files\Microsoft SQL Server\90\Shared\SQLBrowser.exe Thanks for the reply Cap!
Unfortunately adding exceptions for the listed items didn't solve the issue. Here are the steps I have taken thus far: - Enable remote connections for SQL Server
- Opened TCP port 1433 via inbound rule
- Opened UDP port 1434 via inbound rule
- Added the above .exe files to inbound rules.
I also browsed the article that you linked to, but it didn't seem to carry any answer. More than likely, I wouldn't know the answer even if I saw it. Any suggestions?
Thanks Much
Win7Newb | My System Specs | | |
27 Jan 2010
|
#4 | | Windows 7 Ultimate - 64-bit | Windows 8 Pro - 64-bit |
Hello Win7Newb,
You need to add for both Inbound and Outbound Firewall. I'll attach a article its for another software but it's basically for sharing using SQL. HERE just follow the steps for SQL alone leave about the other.
Hope this helps,
Captain | My System Specs | | System Manufacturer/Model Number Samsung NP550P5C-S02IN OS Windows 7 Ultimate - 64-bit | Windows 8 Pro - 64-bit CPU Intel® Core™ i7 Processor 3,610QM (2.30Hz, 6MB L3 Cach Memory 8 GB Graphics Card NVIDIA® GeForce® GT 650M 2GB Graphics, Optimus™ techno Sound Card SoundAlive™ JBL 3 Speakers (With sub-Woofer) Monitor(s) Displays 39.62cm (15.6) SuperBright 300nit HD+ LED Display Screen Resolution 1,600 x 900, Anti-Reflective Hard Drives 1TB S-ATA II Hard Drive (5,400RPM) |
27 Jan 2010
|
#6 | | Windows 7 Ultimate - 64-bit | Windows 8 Pro - 64-bit |
Now in Windows 7 you have both Inbound and Outbond that's why you couldn't get it to work first time. Anyways Glad that you got it working
Good Luck,
Captain | My System Specs | | System Manufacturer/Model Number Samsung NP550P5C-S02IN OS Windows 7 Ultimate - 64-bit | Windows 8 Pro - 64-bit CPU Intel® Core™ i7 Processor 3,610QM (2.30Hz, 6MB L3 Cach Memory 8 GB Graphics Card NVIDIA® GeForce® GT 650M 2GB Graphics, Optimus™ techno Sound Card SoundAlive™ JBL 3 Speakers (With sub-Woofer) Monitor(s) Displays 39.62cm (15.6) SuperBright 300nit HD+ LED Display Screen Resolution 1,600 x 900, Anti-Reflective Hard Drives 1TB S-ATA II Hard Drive (5,400RPM) |
21 Sep 2010
|
#7 | | |
remote to sql server with external and internal ip address I also want to remotely connect to sql server 2008. The external ip address I get from What Is My IP Address? Lookup IP, Hide IP, Change IP, Trace IP and more... When using sql server management studio to log in. I tried all sorts of combinations xx.xxx.xx.xxx\<Host Name>
external ip address followed by internal ip address from ipconfig/all
xx.xxx.xx.xxx\yyy.yyy.y.yyy
nothing seems to work, does anyone have an example how to do this?
Thanks | My System Specs | | Remote Access to SQL Server Express 2008 Windows 7 problems? All times are GMT -5. The time now is 02:01 AM. | |