Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2008-10-15
14
Medium Priority
?
4,795 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
  • 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
Ready for your healthcare security check-up?

In the past few years, healthcare organizations have become a prime target for advanced attacks. Does your organization have what it needs to defend itself? Schedule your healthcare security check-up today and download our free Healthcare Security Resource Kit today!

 
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 2000 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

I've written instructions for one router type, but this principle may be useful for others of the same brand and even other brands of router. Problem: I had an issue especially with mobile devices that refused to use DNS information supplied via…
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

963 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