Solved

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

Posted on 2008-10-15
14
4,725 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:jaiganeshsrinivasan
  • 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:jaiganeshsrinivasan
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
 
LVL 14

Author Comment

by:jaiganeshsrinivasan
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:jaiganeshsrinivasan
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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
LVL 14

Author Comment

by:jaiganeshsrinivasan
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:jaiganeshsrinivasan
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:jaiganeshsrinivasan
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:jaiganeshsrinivasan
ID: 31506619
yes ...its a network issue...points to you...thnx a lot for your help...
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Dns Zone_msdcs not found 4 56
W 10 Workstation can't join Win 2012 domain 12 55
RDNS & PTR Recrods for mail server 4 18
DNS Redirection 6 29
One of the most often confused topics in the area DNS is the idea of GLUE records. Specifically, what they are, when they are needed, when they are provided, and how they are created. First, WHAT IS GLUE? To understand GLUE, you must first under…
Resolve DNS query failed errors for Exchange
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

864 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now