You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ankit Chhibber <cy...@gmail.com> on 2007/06/20 08:54:03 UTC

Fwd: accessing subversion on windows network

Hi,I have configured a Windows XP machine to host the SVN repository. I am
trying to access the same from another windows machine using svnserve. I am
using SmartSVN client to do the same.
the problem is that I am not able to connect to the repository. I think I am
forming an incorrect URL.
Both my windows machines are on a private network, and I don't have a DNS
active on the same. I am trying to use IP address in the URL to connect.
Will this work?

my url look something like svn://192.168.1.102/my_repos
I have checked the windows firewall settings and the same is enabled for
svnserve.


thanks
~ankit

Re: accessing subversion on windows network

Posted by Ankit Chhibber <an...@crystalfab.com>.
Hi,thanks for all the inputs, I was able to configure the service properly.
I was not using the -root option when configuring svnserve as a service, the
following edit solved the issue for me.
sc config svn binpath= "\"D:\Program Files\Subversion\bin\svnserve.exe\"
--service --root="D:\Path\to\repos""

thanks for all the inputs and help
regards
Ankit

On 6/20/07, Josh Blair <jo...@gmail.com> wrote:
>
> ankit,
>
> Also make sure the XP box that hosts svnserve allows traffic through the
> built-in firewall (in case that in on and restricting access).
>
> Good luck, HTH,
>
> --
> Josh Blair
> Golden, CO
>
> On 6/20/07, Ulrich Eckhardt <ec...@satorlaser.com> wrote:
> >
> > On Wednesday 20 June 2007 12:07, Ankit Chhibber wrote:
> > > Hi Ram,I am able to ping the machine,Â
> > > the service is running, I did not specify any port so it should use
> > the
> > > default port, right?
> >
> > I guess so.
> >
> > > anyway I re-configured the service to run at my specified port "5555",
> > and
> > > made it the part of URL "svn://192.168.1.102:5555/my_repos" Â but
> > still the
> > > connection is not going through.
> > > any other inputs? how do I check that service is configured correctly?
> >
> > Things I'd try:
> >
> > - Start svnserve manually instead of as service.
> > - Make sure the service is running, e.g. look in the processes list.
> > This will
> > be trickier when it is started on demand by a superserver similar to e.g
> > .
> > inetd.
> > - Run the client on the same machine as the server, but still use svn://
> > and
> > not file://. There are several variants, using 127.0.0.1, localhost, the
> > IP
> > address and the hostname.
> > - Use telnet instead of svn to connect. You should see something like
> >   ( success ( 1 2 ( ANONYMOUS ) ( edit-pipeline ) ) )
> >
> > At some point you should get it running at least locally via the
> > network. Once
> > that works, you can then go on to connecting from a different host.
> >
> > > Both my windows machines are on a private network, and I don't have a
> > DNS
> > > active on the same.
> >
> > FYI: you can still hard-wire hostnames to IP addresses, take a look at
> > the 'hosts' or 'hosts.txt' file in Windows' system folder. Other than
> > that,
> > the syntax you used (svn://192.168.1.102/..) for the URL works here.
> >
> > good luck
> >
> > Uli
> >
> > --
> > Sator Laser GmbH
> > Geschäftsführer: Ronald Boers, Amtsgericht Hamburg HR B62 932
> >
> > ************************************************************
> > **************************
> >            Visit our website at < http://www.satorlaser.de/>
> > ************************************************************
> > **************************
> > Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den
> > Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte
> > benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte
> > Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf
> > weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt
> > werden.
> > E-Mails können durch Dritte gelesen werden und Viren sowie
> > nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese
> > Folgen nicht verantwortlich.
> >
> > **************************************************************************************
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@subversion<us...@subversion.tigris.org>
> > .tigris.org <us...@subversion.tigris.org>
> > For additional commands, e-mail: users-help@subversion.tigris<us...@subversion.tigris.org>
> > .org <us...@subversion.tigris.org>
> >
> >
>

Re: accessing subversion on windows network

Posted by Josh Blair <jo...@gmail.com>.
ankit,

Also make sure the XP box that hosts svnserve allows traffic through the
built-in firewall (in case that in on and restricting access).

Good luck, HTH,

--
Josh Blair
Golden, CO

On 6/20/07, Ulrich Eckhardt <ec...@satorlaser.com> wrote:
>
> On Wednesday 20 June 2007 12:07, Ankit Chhibber wrote:
> > Hi Ram,I am able to ping the machine,Â
> > the service is running, I did not specify any port so it should use the
> > default port, right?
>
> I guess so.
>
> > anyway I re-configured the service to run at my specified port "5555",
> and
> > made it the part of URL "svn://192.168.1.102:5555/my_repos" Â but still
> the
> > connection is not going through.
> > any other inputs? how do I check that service is configured correctly?
>
> Things I'd try:
>
> - Start svnserve manually instead of as service.
> - Make sure the service is running, e.g. look in the processes list. This
> will
> be trickier when it is started on demand by a superserver similar to e.g.
> inetd.
> - Run the client on the same machine as the server, but still use svn://
> and
> not file://. There are several variants, using 127.0.0.1, localhost, the
> IP
> address and the hostname.
> - Use telnet instead of svn to connect. You should see something like
>   ( success ( 1 2 ( ANONYMOUS ) ( edit-pipeline ) ) )
>
> At some point you should get it running at least locally via the network.
> Once
> that works, you can then go on to connecting from a different host.
>
> > Both my windows machines are on a private network, and I don't have a
> DNS
> > active on the same.
>
> FYI: you can still hard-wire hostnames to IP addresses, take a look at
> the 'hosts' or 'hosts.txt' file in Windows' system folder. Other than
> that,
> the syntax you used (svn://192.168.1.102/..) for the URL works here.
>
> good luck
>
> Uli
>
> --
> Sator Laser GmbH
> Geschäftsführer: Ronald Boers, Amtsgericht Hamburg HR B62 932
>
>
> **************************************************************************************
>            Visit our website at <http://www.satorlaser.de/>
>
> **************************************************************************************
> Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten
> bestimmt und kann vertrauliche Informationen enthalten. Bitte
> benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte
> Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf
> weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt
> werden.
> E-Mails können durch Dritte gelesen werden und Viren sowie
> nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese
> Folgen nicht verantwortlich.
>
>
> **************************************************************************************
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

Re: accessing subversion on windows network

Posted by Ulrich Eckhardt <ec...@satorlaser.com>.
On Wednesday 20 June 2007 12:07, Ankit Chhibber wrote:
> Hi Ram,I am able to ping the machine,Â
> the service is running, I did not specify any port so it should use the
> default port, right?

I guess so.

> anyway I re-configured the service to run at my specified port "5555", and
> made it the part of URL "svn://192.168.1.102:5555/my_repos" Â but still the
> connection is not going through.
> any other inputs? how do I check that service is configured correctly?

Things I'd try:

- Start svnserve manually instead of as service.
- Make sure the service is running, e.g. look in the processes list. This will 
be trickier when it is started on demand by a superserver similar to e.g. 
inetd.
- Run the client on the same machine as the server, but still use svn:// and 
not file://. There are several variants, using 127.0.0.1, localhost, the IP 
address and the hostname.
- Use telnet instead of svn to connect. You should see something like
  ( success ( 1 2 ( ANONYMOUS ) ( edit-pipeline ) ) ) 

At some point you should get it running at least locally via the network. Once 
that works, you can then go on to connecting from a different host.

> Both my windows machines are on a private network, and I don't have a DNS
> active on the same.

FYI: you can still hard-wire hostnames to IP addresses, take a look at 
the 'hosts' or 'hosts.txt' file in Windows' system folder. Other than that, 
the syntax you used (svn://192.168.1.102/..) for the URL works here.

good luck

Uli

-- 
Sator Laser GmbH
Geschäftsführer: Ronald Boers, Amtsgericht Hamburg HR B62 932

**************************************************************************************
           Visit our website at <http://www.satorlaser.de/>
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.

**************************************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


accessing subversion on windows network

Posted by Ankit Chhibber <cy...@gmail.com>.
Hi Ram,I am able to ping the machine
the service is running on XP machine, I did not specify any port so it
should use the default port, right?
anyway I re-configured the service to run at my specified port "5555", and
made it the part of URL "svn://192.168.1.102:5555/my _repos" but still the
connection is not going through.
any other inputs? how do I check that service is configured correctly?


~ankit


On 6/20/07, Ramanathan Muthaiah <ru...@gmail.com> wrote:
>
> > the problem is that I am not able to connect to the repository. I think
> I am
> > forming an incorrect URL.
> > Both my windows machines are on a private network, and I don't have a
> DNS
> > active on the same. I am trying to use IP address in the URL to connect.
> > Will this work?
> >
> > my url look something like svn://192.168.1.102/my_repos
> > I have checked the windows firewall settings and the same is enabled for
> > svnserve.
> Ankit,
>
> Trivial question: From machine B are you able to ping WinXP machine
> where the repo is hosted.
>
> Is the svnserve service running in WindowsXP ? If so, it is configured
> to listen at which port ? Your svn URL should include this port number
> as well apart from the IP address.
>
> /Ram
>

Â

Re: accessing subversion on windows network

Posted by Ankit Chhibber <an...@crystalfab.com>.
Hi Ram,I am able to ping the machine,Â
the service is running, I did not specify any port so it should use the
default port, right?
anyway I re-configured the service to run at my specified port "5555", and
made it the part of URL "svn://192.168.1.102:5555/my_repos" Â but still the
connection is not going through.
any other inputs? how do I check that service is configured correctly?


~ankit


On 6/20/07, Ramanathan Muthaiah <ru...@gmail.com> wrote:
>
> > the problem is that I am not able to connect to the repository. I think
> I am
> > forming an incorrect URL.
> > Both my windows machines are on a private network, and I don't have a
> DNS
> > active on the same. I am trying to use IP address in the URL to connect.
> > Will this work?
> >
> > my url look something like svn://192.168.1.102/my_repos
> > I have checked the windows firewall settings and the same is enabled for
> > svnserve.
> Ankit,
>
> Trivial question: From machine B are you able to ping WinXP machine
> where the repo is hosted.
>
> Is the svnserve service running in WindowsXP ? If so, it is configured
> to listen at which port ? Your svn URL should include this port number
> as well apart from the IP address.
>
> /Ram
>

Â

Re: accessing subversion on windows network

Posted by Ramanathan Muthaiah <ru...@gmail.com>.
> the problem is that I am not able to connect to the repository. I think I am
> forming an incorrect URL.
> Both my windows machines are on a private network, and I don't have a DNS
> active on the same. I am trying to use IP address in the URL to connect.
> Will this work?
>
> my url look something like svn://192.168.1.102/my_repos
> I have checked the windows firewall settings and the same is enabled for
> svnserve.
Ankit,

Trivial question: From machine B are you able to ping WinXP machine
where the repo is hosted.

Is the svnserve service running in WindowsXP ? If so, it is configured
to listen at which port ? Your svn URL should include this port number
as well apart from the IP address.

/Ram

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org