You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Paul Campbell <pw...@u.washington.edu> on 2006/11/15 02:23:03 UTC

Solution: No connection could be made because the target machine refused

I saw a number of suggestions that indicated
a. permissions
b. firewalls
c. windows

when I encountered the message:
No connection could be made because the target machine refused

The suggestions were not correct.

The real reason was that I was invoking the DAV SVN module with the
wrong protocol designator.

Instead of svn co svn://xyzserver/thesvndir/projectXray projectXray

I replaced svn with http and it worked fine.

I went back to both Subversion books and found an example
in the OReilly book (pg 123) that showed the use of https:
and in Pragmatic Prog book ( pg 60 ) that used http:

Of course, this answer was obvious.

Perhaps, some nice committer could add an FAQ that says
something like:
If you get this message, verify that you are trying to
connect to the server with the appropriate protocol.
In particular, if you are contacting a DAV server,
you probably want to use http:
When you add more files or want to ci, subversion
knows where to go. So from

projectXray directory

svn add secretFormula.txt
svn ci -m"don't tell any newbies(or curmudgeons)
about this secret. Make them work for their cookies"

Works for me. Your mileage may vary.
I spent enough time on this that I hope that I can
save some one else this misfortune.
Cheers

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