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
Solved

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

Posted on 2008-10-15
14
4,742 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
Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

 
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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

Suggested Solutions

Title # Comments Views Activity
RDNS & PTR Recrods for mail server 4 20
Rate limit for DNS queries 7 83
PC trouble to connect to file server 6 36
Separate DNS forwarding 2 17
There have been a lot of times when we have seen the need to enter a large number of DNS entries in a forward lookup zone. The standard procedure would be to launch the DNS Manager console, create the Zone and start adding new hosts using the New…
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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

839 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