Solved

Can't connect to host 'ServerName': No connection could be made because the target

Posted on 2008-10-15
14
4,766 Views
Last Modified: 2013-11-25
I have a Windows 2000 server in which SVN is configured as a windows service, it has been working fine for many months now...last week we were facing a network problem and they have made some router settings etc., but changed nothing on the SVN Server...but when we try to conenct to SVN now from client machines we get the error

Can't connect to host 'SERVERNAME': No connection could be made because the target
machine actively refused it.  

I dont know what went wrong...
iam able to view the REPOS from the server itself...by providing the svn://MyServerName/ReposName...
but not from the client machines....
0
Comment
Question by:Jai S
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 7
14 Comments
 
LVL 45

Expert Comment

by:sunnycoder
ID: 22728645
Sounds like a firewall issue. Either a firewall on the server or on an intermediate router is rejecting the connections. Check firewall configuration on the SVN server and get in touch with the network admins who configured the routers.
0
 
LVL 14

Author Comment

by:Jai S
ID: 22728730
Sounds crazy but, iam trying to access the Server which is in my Local Lan - will the router setup be affecting the SVN Service ?? i dont have a firewall for my local LAN but only for my Internet...
will the internet router be affecting my local LAN setup ?
0
 
LVL 45

Expert Comment

by:sunnycoder
ID: 22728946
If your SVN server is on a different subnet then there is a router in between that can drop the traffic. The error message clearly says that it was able to locate the machine but could not connect to it so it is unlikely that your internet router is coming into play unless your client is trying to access some other server by the same name on the internet. Are you able to access other servers on the LAN? How are you accessing the repository - using a browser or a client like Tortoise SVN?
0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
LVL 14

Author Comment

by:Jai S
ID: 22728954
Using Tortoise SVN...i think your comments makes sense than my understanding...i will try to find out with the network guys whether they have disabled my port...is 3690 the default port for SVN ?
0
 
LVL 45

Expert Comment

by:sunnycoder
ID: 22729022
Yes ... that is the default.
0
 
LVL 14

Author Comment

by:Jai S
ID: 22739390
hi,

I managed to add the port 3690 to my firewall, now strange things are happening,
Iam now able to get connected to SVN server, but none of the other machines in the network is able to access the SVN, it still displays the same message....do you know what could be the problem now ? please help...
0
 
LVL 45

Expert Comment

by:sunnycoder
ID: 22739730
>I managed to add the port 3690 to my firewall,
Your firewall would mean on the SVN client machine? All other clients would also need to the same to access the server.
0
 
LVL 14

Author Comment

by:Jai S
ID: 22739741
no i added the port on the SERVER...its not client specific...
0
 
LVL 45

Expert Comment

by:sunnycoder
ID: 22739758
>but none of the other machines in the network is able to access the SVN, it still displays the same message.
Are these machines on the same network as your machine (same subnet)
Was the exception that you added to server firewall for a specific host/IP/IP prefix?
0
 
LVL 14

Author Comment

by:Jai S
ID: 22739781
they are all on the same network...There are no settings in the Firewall for Ip Specific port access...
i opened up the firewall menu and added the port 3690 as an exception for all IP's...
i am missing something and i dont know what...
0
 
LVL 45

Expert Comment

by:sunnycoder
ID: 22739976
could there be a setting for max number of connections?
0
 
LVL 14

Author Comment

by:Jai S
ID: 22755298
There was a serious problem with my router, iam not sure when the network guys are going to fix this...
but to my surprise iam able to connect to the SVN using
file://SERVERNAMe/REPOS NAME/FOLDER PATH...

only the SVN service seems to be not working...do you think that the problem is with the service...i will close the question(points to you)...please reply me for this...th nx a lot for you help...
0
 
LVL 45

Accepted Solution

by:
sunnycoder earned 500 total points
ID: 22755949
>only the SVN service seems to be not working.
How did you determine that? Is SVN in the list of running processes? You can try restarting to be sure but I suspect that this is not an SVN issue. This is 99.9% a network/firewall issue.
0
 
LVL 14

Author Closing Comment

by:Jai S
ID: 31506619
yes ...its a network issue...points to you...thnx a lot for your help...
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is intended as an extension of a blog on Aging and Scavenging by the MS Enterprise Networking Team. In brief, Scavenging is used as follows: Each record in a zone which has been dynamically registered with an MS DNS Server will have…
Occasionally you run into the website or two that will not resolve properly using your own DNS servers.  Some people simply set up global forwarders for their DNS server.  I don’t recommend doing this because it can cause problems resolving addresse…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses

622 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question