You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by James Mansion <ja...@mansionfamily.plus.com> on 2009/04/13 22:01:30 UTC

svnserve under Vista

Probably a silly issue but I've upgraded from XP to Vista (new laptop) 
and installed 1.6.

Seems I can connect to it using:

svn ls svn://localhost

but bizarrely not with:

svn ls svn://127.0.0.1

and also not by specifying the ip4 addresses of any of the system's 
interfaces.  Which is
a shame, because I also can't connect from the Debian VM I have in VBox.

I suspect this is down to IPv4 vs IPv6 issues - but that's just a guess.

Any idea how I should proceed?  Currently I'm not specifying 
--listen-host: can
I specify this several times (or multiple hosts in one argument?) and 
specify all
the IPv4 addresses I want it to use explicitly?

Clutching at straws here.

James

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1696845

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: svnserve under Vista

Posted by Gavin Baumanis <ga...@thespidernet.com>.
While I could of course be wrong;
I don't think you have a SVN issue, but rather a VISTA IPV4 IPV6 issue.

Have a look at these following links for some initial assistance that
might get you on the right road...
Also don't forget everyone's best friend, Mr. Google, I got these
links by searching "vista ipv4 ipv6"

http://forums.techarena.in/vista-help/960267.htm
http://www.mydigitallife.info/2007/09/09/disable-and-turn-off-ipv6-support-in-vista/

Gavin.


On 14/04/2009, at 8:01 AM, James Mansion wrote:

> Probably a silly issue but I've upgraded from XP to Vista (new laptop)
> and installed 1.6.
>
> Seems I can connect to it using:
>
> svn ls svn://localhost
>
> but bizarrely not with:
>
> svn ls svn://127.0.0.1
>
> and also not by specifying the ip4 addresses of any of the system's
> interfaces.  Which is
> a shame, because I also can't connect from the Debian VM I have in  
> VBox.
>
> I suspect this is down to IPv4 vs IPv6 issues - but that's just a  
> guess.
>
> Any idea how I should proceed?  Currently I'm not specifying
> --listen-host: can
> I specify this several times (or multiple hosts in one argument?) and
> specify all
> the IPv4 addresses I want it to use explicitly?
>
> Clutching at straws here.
>
> James
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1696845
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org 
> ].

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1699070

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: svnserve under Vista

Posted by Stefan Sperling <st...@elego.de>.
On Tue, Apr 14, 2009 at 06:44:58AM +0100, James Mansion wrote:
> Bert Huijben wrote:
> > 	Hi,
> >
> > You can pass a --listen-host 0.0.0.0 argument to svnserve to explicitly
> > listen on all interfaces via ipv4, just like you can use --listen-host :: to
> > explicitly listen on all interfaces via ipv6.
> >   
> Thanks, that did the trick.
> 
> James
> 
> (Bob: svn protocol uses IP, I don't think local pipes is relevant here. 
> 127.0.0.1 is an IP4 address,
> localhost was resolving to IPv6 it seems. I don't want to disable IPv6 
> completely though)

In some 1.5.x release, the svn client was updated to try both
IPv6 and IPv4 if one of them fails.

Also, svnserve does not support listening on multiple address families.
It can either listen on IPv6, or IPv4.

That explains why svn://localhost was working but svn://127.0.0.1
was not.

A workaround is to run it out of inetd, if Windows has something
like that, or use apache instead of svnserve.

See also issue http://subversion.tigris.org/issues/show_bug.cgi?id=2382

Stefan

Re: svnserve under Vista

Posted by James Mansion <ja...@mansionfamily.plus.com>.
Bert Huijben wrote:
> 	Hi,
>
> You can pass a --listen-host 0.0.0.0 argument to svnserve to explicitly
> listen on all interfaces via ipv4, just like you can use --listen-host :: to
> explicitly listen on all interfaces via ipv6.
>   
Thanks, that did the trick.

James

(Bob: svn protocol uses IP, I don't think local pipes is relevant here. 
127.0.0.1 is an IP4 address,
localhost was resolving to IPv6 it seems. I don't want to disable IPv6 
completely though)

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1703877

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: svnserve under Vista

Posted by Bert Huijben <rh...@sharpsvn.net>.
Hi,

You can pass a --listen-host 0.0.0.0 argument to svnserve to explicitly
listen on all interfaces via ipv4, just like you can use --listen-host :: to
explicitly listen on all interfaces via ipv6.

	Bert

-----Original Message-----
From: Bob Archer [mailto:bob.archer@amsi.com] 
Sent: dinsdag 14 april 2009 0:21
To: James Mansion
Cc: users@subversion.tigris.org
Subject: RE: svnserve under Vista

> Bob Archer wrote:
> > Are you running svnservce as local system or network server or what?
> >
> > BOb
> >
> >
> Its running on my Vista laptop, I want to provide service to other
> systems and the local system.

Yes, I get that. But, if you are running it as a service, it must be
running with some user credentials. Which user would that be? Or are you
just running it in a cmd window?

Although localhost and 127.0.0.1 should really resolve to the same
place. It could be that one is using local pipes and one is using IP. It
depends on how the client protocol is written. Are you able to access it
from a system external to your VM using the netbios name and/or the ip
address? 

Do you have the firewall running?

BOb

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=16
97142

To unsubscribe from this discussion, e-mail:
[users-unsubscribe@subversion.tigris.org].

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1700000

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: svnserve under Vista

Posted by bruce <be...@earthlink.net>.
also...

what user are you running this as.... i would imagine the xp/vista has the
concept of admin/root/user..



-----Original Message-----
From: Bob Archer [mailto:bob.archer@amsi.com]
Sent: Monday, April 13, 2009 3:21 PM
To: James Mansion
Cc: users@subversion.tigris.org
Subject: RE: svnserve under Vista


> Bob Archer wrote:
> > Are you running svnservce as local system or network server or what?
> >
> > BOb
> >
> >
> Its running on my Vista laptop, I want to provide service to other
> systems and the local system.

Yes, I get that. But, if you are running it as a service, it must be
running with some user credentials. Which user would that be? Or are you
just running it in a cmd window?

Although localhost and 127.0.0.1 should really resolve to the same
place. It could be that one is using local pipes and one is using IP. It
depends on how the client protocol is written. Are you able to access it
from a system external to your VM using the netbios name and/or the ip
address? 

Do you have the firewall running?

BOb

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=16
97142

To unsubscribe from this discussion, e-mail:
[users-unsubscribe@subversion.tigris.org].

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1697233

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: svnserve under Vista

Posted by Bob Archer <bo...@amsi.com>.
> Bob Archer wrote:
> > Are you running svnservce as local system or network server or what?
> >
> > BOb
> >
> >
> Its running on my Vista laptop, I want to provide service to other
> systems and the local system.

Yes, I get that. But, if you are running it as a service, it must be
running with some user credentials. Which user would that be? Or are you
just running it in a cmd window?

Although localhost and 127.0.0.1 should really resolve to the same
place. It could be that one is using local pipes and one is using IP. It
depends on how the client protocol is written. Are you able to access it
from a system external to your VM using the netbios name and/or the ip
address? 

Do you have the firewall running?

BOb

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1697142

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].


Re: svnserve under Vista

Posted by James Mansion <ja...@mansionfamily.plus.com>.
Bob Archer wrote:
> Are you running svnservce as local system or network server or what?
>
> BOb
>
>   
Its running on my Vista laptop, I want to provide service to other 
systems and the local system.
Most important at the moment is VMs under VBox.  I'm using VBox 2.2 with 
the new 'host local'
network.

But that's by the by - I'm connected to the house WAN as I type and have 
an IPv4 address on
the WLAN adapter - and svnserve doesn't seem to be listening on it.

netstat -a shows:

  TCP    [::]:3690              james-PC:0             LISTENING

That is the 'all interfaces' listen for IPv6 isn't it?

There is no equivalent on 0.0.0.0:3690.

James

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1697075

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: svnserve under Vista

Posted by Bob Archer <bo...@amsi.com>.
Are you running svnservce as local system or network server or what?

BOb


> -----Original Message-----
> From: James Mansion [mailto:james@mansionfamily.plus.com]
> Sent: Monday, April 13, 2009 6:02 PM
> To: users@subversion.tigris.org
> Subject: svnserve under Vista
> 
> Probably a silly issue but I've upgraded from XP to Vista (new laptop)
> and installed 1.6.
> 
> Seems I can connect to it using:
> 
> svn ls svn://localhost
> 
> but bizarrely not with:
> 
> svn ls svn://127.0.0.1
> 
> and also not by specifying the ip4 addresses of any of the system's
> interfaces.  Which is
> a shame, because I also can't connect from the Debian VM I have in
VBox.
> 
> I suspect this is down to IPv4 vs IPv6 issues - but that's just a
guess.
> 
> Any idea how I should proceed?  Currently I'm not specifying
> --listen-host: can
> I specify this several times (or multiple hosts in one argument?) and
> specify all
> the IPv4 addresses I want it to use explicitly?
> 
> Clutching at straws here.
> 
> James
> 
> ------------------------------------------------------
>
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageI
d=
> 1696845
> 
> To unsubscribe from this discussion, e-mail: [users-
> unsubscribe@subversion.tigris.org].

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1696991

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].