[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: can't connect to svnserver -> Error ...target machine actively refused it.

From: James Hagstrom <james.hagstrom_at_vistatsi.com>
Date: 2006-08-15 03:50:27 CEST

Ahhh, I remembered. I used SVNservice to install SNVserver.

-----Original Message-----
From: D.J. Heap [mailto:djheap@gmail.com]
Sent: Monday, August 14, 2006 9:25 PM
To: James Hagstrom
Cc: users@subversion.tigris.org
Subject: Re: can't connect to svnserver -> Error ...target machine
actively refused it.

On 8/14/06, James Hagstrom <james.hagstrom@vistatsi.com> wrote:
> I'm just running TSVN on the client. Should I run this on the server?
> What are the benefits?

It only matters in that you have to have the server name or ip address
in the url. 'localhost' is a sort of shortcut name for 'this machine'.
So if you use 'localhost' as the server name it is going to try to
contact the machine you are running on, not the real server.

> I changed "localhost" to the IP address on the server and it says no
> repository found.

Good, that's progress...you've contacted the server now and got a
response back from svnserve.

> The command that I run on the server is just the .exe file w/ no
> parameters. I thought it had to have at least -d but it keeps

How did you install the actual Windows service (it does not get
installed through the normal install package so you must have used a
helper package of some kind)? It appears to not be pointed at your
repositories correctly. Usually, you pass the -r option with the parent
directory of where you repositories are located.

For example, 'C:\Subversion\svnserve.exe -d -r D:\Repositories' and then
you can have repositories under D:\Repositories (created with
'svnadmin.exe create D:\Repositories\Junk' or similar). Then you would
refer to that repository with a url like:

svn.exe ls svn://servername/Junk


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 15 03:51:31 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.