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

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

From: Paul Campbell <pwc_at_u.washington.edu>
Date: 2006-11-15 03:23:03 CET

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.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Nov 15 22:59:35 2006

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