Hi ,
I am trying to set-up my own lab for working on some projects which require some testing before implementing any changes.
So i installed two Vm machine (server 2012 ) with Sql server 2016 and tried to connect sql instance of other 2nd machine from machine 1 and vice versa.
Before posting this here , i checked several articles and forum but nothing really helped .
I have already followed below steps:
1.Checked if services is up(SQL + browser).
2.Checked if Sql remote connected is allowed.
3.1433 and 1434 are listening.
4.Named pipeline and TCP\IP is enabled.
5.Added the ports 1434 and 1433 on firewall.
6.Added sql server and sql browser on firewall exception.
7.Disabled the firewall.
8.As both machines have same ip ,i pinged the IPv6 (one's ip on other machine)it gave the destination host unreachable.(i believe here is the culprit but unable to resolve )
Ran command [netsh interface ipv6 show neighbors] on machines and it showed the ipv6 of other machine.
![]()
It gave me the hint that there is problem with ipv6 but i am unable to resolve it
9.Using the correct machine name as the instance is default and used the instance name too to connect.
10.Restarted the machine after making changes.
11. Checked sql default port (it is 1433).
12.Tried windows and sql authentication both to establish connection.
Below is the error that i see while connecting to others machine instance.
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) (.Net SqlClient Data Provider)
------------------------------
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=67&LinkId=20476
------------------------------
Error Number: 67
Severity: 20
State: 0
The network name cannot be found.
I am not getting much on Error Number: 67.Any help on this will be appreciated.
Regards