SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Can't Connect to Remote Server


Can't Connect to Remote Server

Author
Message
shohelr2003
shohelr2003
Old Hand
Old Hand (337 reputation)Old Hand (337 reputation)Old Hand (337 reputation)Old Hand (337 reputation)Old Hand (337 reputation)Old Hand (337 reputation)Old Hand (337 reputation)Old Hand (337 reputation)

Group: General Forum Members
Points: 337 Visits: 610
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.
himabindu.andey
himabindu.andey
Forum Newbie
Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)

Group: General Forum Members
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.
Thinknook
Thinknook
SSC Veteran
SSC Veteran (209 reputation)SSC Veteran (209 reputation)SSC Veteran (209 reputation)SSC Veteran (209 reputation)SSC Veteran (209 reputation)SSC Veteran (209 reputation)SSC Veteran (209 reputation)SSC Veteran (209 reputation)

Group: General Forum Members
Points: 209 Visits: 164990
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
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search