When trying to connect to a remote SQL Server 2012 database from Management Studio 2012 on my laptop, I get this 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. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error:53). the network path was not found.
I hosted my website on Host Gator hosting provider and I have created a database on their hosting server with user details. I am trying to connect to the remote database using my laptop. I have windows 10 operating system on my laptop.
Below are the steps I have followed:
- Make sure that the TCP/IP and Named Pipes protocols are enabled in the SQL Server Configuration Manager.
- Make sure that the SQL Server Browser and the SQL Server is up and running on my machine
- Make sure that the TCP/IP protocol with port number:1433 is added to inbound rules in the firewall.
- Make sure that TCP/IP protocol is enabled through CLIConfg