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

Re: Can't access repo using http:// or svn://

From: SomeRandomDude <a.yakobovich_at_gmail.com>
Date: Wed, 27 Aug 2008 17:18:10 -0700 (PDT)

Now I tried it from scratch with svnserve (with Apache and old repo
removed).

Here is what I did step-by-step (I am running Vista Business with SP1)

1. Installed CollabNet Subversion 1.5.1 (In the installer config I
specified D:\SVN as the defaul repo directory and left the port at its
default value of 3690).
2. Disabled the Windows Firewall
3. Launched using svnserve.exe --daemon --root D:\SVN
4. In svnserve.conf I put:
[general]
anon-access = none
auth-access = write
password-db = passwd
4. In passwd I put:
[users]
test = test
5. On my router I forwarded port 3690 (TCP) to the machine IP on which
svnserve is running.

End result: svn:// works with "localhost", but using an external IP I
get this in the repo browser:

"Can't connect to host 'IP OF THE MACHINE': No connection could be
made because the target machine actively refused it."

On Aug 27, 7:02 pm, SomeRandomDude <a.yakobov..._at_gmail.com> wrote:
> It DOES reach the server. As I mentioned in my previous posts, Apache
> is running and is accessible. I can see the test page from htdocs in
> the browser, using both localhost and the external IP (using another
> machine).
>
> I misunderstood that svn:// part, I was under the impression that it
> can be used in addition to the http protocol. Now that you pointed
> that out, it makes sense, since Apache is a web server used primarily
> for http/ftp.
>
> "if the apache test page shows up on the svn folder"
>
> I am not sure what you mean exactly by that. The only apache test page
> that I know of is the one that is in Apache's htdocs folder, which
> contains web content only (no SVN stuff here). Can you explain please.
>
> "put the svn block below the root but *not* below htdocs"
>
> I placed that Location block (copy/pasted directly from documentation)
> at the VERY end of Apache's config file as instructed. It is not
> inside any other block.
>
> On Aug 27, 1:42 pm, Stefan Küng <tortoise..._at_gmail.com> wrote:
>
>
>
>
>
> > SomeRandomDude wrote:
> > > Whoa, my bad.
>
> > > "Internet Explorer cannot display the webpage" is what I meant. (The
> > > error you get when a connection is refused/times out).
>
> > If IE times out, then it can't reach the server. Simple as that.
> > That either means your apache is not running, not accepting connections
> > or a firewall is blocking access to it, or you've configured a wrong
> > port for apache to listen to.
>
> > > Also, I tried the SVN Browser, and the message says that the
> > > connection was actively refused by the target machine. (Once again, I
> > > can connect to Apache on port 80. The test page DOES show up, but on
> > > or below the SVN folder).
>
> > > Trying either http:// or svn:// on the actual machine, yields the same
> > > results (no additional ports needed to be forwarded?)
>
> > svn:// won't work at all. For that to work, you'd have to set up
> > svnserve, not apache.
>
> > if the apache test page shows up on the svn folder, then you have your
> > <Location> block wrong or in the wrong place.
> > Make sure that your location block is outside any other blocks in the
> > config file, and put the svn block below the root but *not* below htdocs.
>
> > Stefan
>
> > --
> >        ___
> >   oo  // \\      "De Chelonian Mobile"
> >  (_,\/ \_/ \     TortoiseSVN
> >    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
> >    /_/   \_\    http://tortoisesvn.net
>
> >  signature.asc
> > < 1KViewDownload
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr..._at_tortoisesvn.tigris.org
> For additional commands, e-mail: users-h..._at_tortoisesvn.tigris.org- Hide quoted text -
>
> - Show quoted text -

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-08-28 02:31:27 CEST

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

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