Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. SQL Server
  3. Question
SQL Server

How to resolve “Network-related or instance-specific error" while establishing a connection to a SQL Server on a remote computer on the home network.

Asked by Anu Rhea Jul 12, 2021 1.4K views 1 answer
Share

About this question

I have two laptops (both running Windows 10, 64-bit) that are connected to my home network using wifi. Here are details about each laptop: Laptop #1: Laptop #2: I want Laptop #1 to be the server and Laptop #2 to be the client connecting to that server. These are this I ensured on Laptop #1: Pinging 10.0.0.53 which SUCCEEDED. Enable TCP/IP in SQL Server Configuration Manager. Inside TCP/IP Properties, under ‘IPAll’, ‘TCP Dynamic Ports = [Blank]’ (I cleared it), and’ TCP Port = 1433’. I also went into SQL Server Services and restarted the SQL Server service. Inside TCP/IP Properties, under ‘IP8’, ‘Active = Yes’, Enabled = ‘Yes’, TCP Dynamic Ports = [Blank], TCP Port = 1433. Created an inbound Windows-Firewall rule for TCP Port 1433 with a "Private" group. In Laptop #1's SQL Server Management Studio, under Server Properties > Security, Server authentication = SQL Server and Windows Authentication mode. In Laptop #1's SQL Server Management Studio, under Server Properties > Connections, Remote server connections = Allow remote connections to this server [ticked]. I've added a user to my database and allowed him to read/write to tables. Following things I tried from Laptop #2: Pinging 10.0.0.5 which SUCCEEDED (all packets came through) Server name: 10.0.0.5SQLEXPRESS,1433, Authentication = SQL Server Authentication, Login = ..., Password = ... No windows firewall rules were created. In SQL Server Configuration Manager (I enabled TCP/IP and noted that IPAll::TCP Port = 1433 and IPAll::TCP Dynamic Ports = [Blank] But still, I am getting the following error: 

Your answer

1 Answer

More SQL Server discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest SQL Server Blogs

Guides, tips and career advice on SQL Server from JanBask experts.