SQL Server Express : how to allow remote connections

sql-server, sql-server-2008-express

Solution

You need to open the SQL Server Configuration Manager and enable TCP/IP. This is not enabled by default. Port 1433 will need to be open for remote connections.

- SQL Server Configuration Manager

- SQL Server Network Configuration

- Protocols for $InstanceName

- Right hand pane select TCP/IP and enable

Problem

I am trying to allow remote connections for SQL Server Express. When I connect from machine A to connect to SQL Server on machine B using Visual Studio, I get an error: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections I followed the following steps below which did not help. - Enable remote connections on the instance of SQL Server that you want to connect to from a remote computer. Turn on the SQL Server Browser service. Configure the firewall to allow network traffic that is related to SQL Server and to the SQL Server Browser service. In fact I tried by turning off firewalls entirely but no luck. Any suggestions ?

Original source