views:

50

answers:

3

Hi,

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.

A: 

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)

ThatBlairGuy
A: 

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).

afsharm
If you're using the file:// protocol, the network protocols shouldn't be involved.
ThatBlairGuy
+1  A: 

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

Chris Cox
@Chris, tnks. I will use your solution next time I encounter the problem,
afsharm