0
votes

Environment is: Windows Server 2008 R2 x64 Slik-Subversion-1.6.11-x64 TortoiseSVN-1.6.8.19260-x64-svn-1.6.11

I have setted up svn srvice based on Jeff Atwood guidlines and can connect work with host via svn command lines like svn list svn://localhost, but TortoiseSVN can't connect to it even on server machine itself. All firewall types are off. TortoiseSVN error message is: Can't connect to host 'localhost': No connection could be made because the target machine actively refused it.

How can I solve this problem?

Thanks in Advance,

UPDATE: tried this solution but didn't help.

4
I'm not sure this is "programming related"...Marc Gravell♦
but SO is full of svn related issuesAfshar Mohebi

4 Answers

1
votes

I blogged about getting TortoiseSVN to work with SlikSVN recently, including the IP fix.

0
votes

The root directory served up by svnserve isn't the root of your repository.

Instead of svn list svn://localhost, try svn list svn://localhost/reponame

(Where reponame is, of course, the name of your repository)

0
votes

I found the problem myself but have not found the solution yet. TortoiseSVN in Windows 2008 uses ipv6. And conflict between ipv6 and ipv4 is root cause of problem.

BTW slik svn works good in command line. And in TortoiseSVN I'm using file protocol instead (something like file:///F:/myfolder).

-1
votes

I've had similar problems myself but maybe my conditions differ. I noticed I could access the repository through the browser as my repo was setup to be accessed form the outside. We also have to make use of a proxy inside the company. So, at SVN settings, I added the proxy. The moment I tried to do repo browser, it went through without hanging and asked to accept the certificate (permanently), entered svn credentials and... voila!

Maybe this can help someone. Cheers!