Sep12
MS SQL Server Express 2008 Remote Connections
on September 12, 2012 at 8:59 PMAfter installing a fresh instance of Microsoft SQL Server Express 2008, you may find that you are unable to make a remote connection from another machine. There are a number of items you should check to troubleshoot this:
Enable the TCP/IP Protocol for the Instance
- Open the “SQL Server Configuration Manager”
- Expand the settings for instance you are trying to connect to
- Select “Protocols”
- Right-click on the “TCP/IP” protocol and click enable
Start the MS SQL Browser Service
- Go to Start -> Run -> Services.msc
- Right click on “SQL Server Browser” and go to properties (The service is likely disabled at this point)
- Change the “Startup type” to Automatic
- Click the “Start” button to start the service
Disable or Configure Windows Firewall
- Go to Start -> Control Panel -> Windows Firewall
- On the left, click the option to turn Windows Firewall on or off
- Turn the firewall off
OR
- Open Windows Firewall with Advanced Security
- Right-click on “Inbound Rules” on the left
- Select “New Rule”
- Select “Port” and click next
- Select “TCP” and enter port 1433 (or whatever port you have configured) and click next
- Select “Allow the connection” and click next
- Check Domain/Private/Public and click next
- Enter a name for the rule (ie. MSSQL) and click finish
Make sure Remote Connections are Enabled for the Instance
- Open up “SQL Server Management Studio Express”
- Connect to the server
- Right-click on the server and select properties
- Select “Connections”
- Ensure “Allow remote connections to this server” is enabled
Finally, after doing any or all of these steps, make sure you restart any SQL server services before trying to connect!