Reputation: 1349
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.
In fact I tried by turning off firewalls entirely but no luck. Any suggestions ?
Upvotes: 6
Views: 17224
Reputation: 167
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.
Upvotes: 10