Solved

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

Posted on 2008-10-15
14
4,719 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Systems Enngineer 8 57
Public DNS 5 26
Guest VLAN not syncing email 13 20
active directory 3 22
I wrote this article to explain some important DNS concepts that should be known to avoid some typical configuration errors I often see in forums. I assume that what is described here is the typical behavior of Microsoft DNS client. I don't know …
Resolve DNS query failed errors for Exchange
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

757 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

17 Experts available now in Live!

Get 1:1 Help Now