Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Can't Connect to Remote Server Expand / Collapse
Author
Message
Posted Monday, October 8, 2012 4:42 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Sunday, August 3, 2014 4:04 AM
Points: 203, Visits: 500
Hi experts,

1. I have two servers. Server A and Server B.
2. They are located in two different places and connected through different default gateway in a VPN.
3. Say IP Address for Server A is 192.0.0.1 and Server B is 10.0.0.1.
4. If I try to connect either of the server using IP Address, it works fine.
5. If I try to connect either of the server using Server name, it generates the following error message.

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)

6. As a result, I can not define my subscriber to do replication between two servers.
7. I am using SQL Server 2008 R2.

Please help me to sort out this problem.
Post #1369708
Posted Monday, October 8, 2012 6:23 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, August 7, 2013 6:39 AM
Points: 5, Visits: 55
shohelr2003 (10/8/2012)
Hi experts,

1. I have two servers. Server A and Server B.
2. They are located in two different places and connected through different default gateway in a VPN.
3. Say IP Address for Server A is 192.0.0.1 and Server B is 10.0.0.1.
4. If I try to connect either of the server using IP Address, it works fine.
5. If I try to connect either of the server using Server name, it generates the following error message.

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)

6. As a result, I can not define my subscriber to do replication between two servers.
7. I am using SQL Server 2008 R2.

Please help me to sort out this problem.


Check if there is any DNS issue at the server end.
Post #1369767
Posted Monday, October 8, 2012 7:17 AM


SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Monday, September 8, 2014 1:14 PM
Points: 91, Visits: 164,592
Have you tried with a fully qualified server name?

Something like <servername>.<localnetwork>.<tld>


-----------------
... Then again, I could be totally wrong! Check the answer.
Check out posting guidelines here for faster more precise answers.

I believe in Codd
... and Thinknook is my Chamber of Understanding
Post #1369798
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse