You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Peter Michaux <pe...@gmail.com> on 2006/05/20 17:57:02 UTC

cannot checkout connection refused

Hi,

I have Mac OS X 10.3.9 on one computer and FreeBSD 6.1 on another.
They are both connected to my router. If I start a webserver (Webrick
for rails applications) on the FreeBSD machine I can view the website
on my Mac by navigating to "http://192.168.0.103:3000/". So I know the
two machines can talk to each other.

On the FreeBSD machine I created a repository, did an initial "svn
import" and can checkout the repostitory two ways. This is all on the
FreeBSD machine.

# cd /home/peter/
# svn checkout file:///home/peter/projectA
Checked out revision 1

# cd /home/peter/
# svnserve -d -r /home/peter/proj
# svn checkout svn://localhost/projectB
checkout out revision 1

Now I would like to do a checkout on the Mac

$ svn checkout svn://192.168.0.103/projectB
subversion/libsvn_ra_svn/client.c:141: (apr_err=61)
svn: Can't connect to host '192.168.0.103': Connection refused
$ svn checkout svn://192.168.0.103:3690/projectB
subversion/libsvn_ra_svn/client.c:141: (apr_err=61)
svn: Can't connect to host '192.168.0.103': Connection refused

Any ideas what I should do?

Thanks,
Peter

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

Re: cannot checkout connection refused

Posted by Ryan Schmidt <su...@ryandesign.com>.
On May 20, 2006, at 20:09, Peter Michaux wrote:

> On 5/20/06, Ryan Schmidt wrote:
>
>> Is the FreeBSD machine using a firewall of some kind? Make sure to
>> configure it to allow traffic on Subversion's port 3690.
>
> It is a fresh install of FreeBSD 6.1-RELEASE. I didn't tweak anything
> as far as I know. During installation I did say I wanted SSH access
> allowed but I dont think that should be an issue here.
>
> How would I check if traffic is allowed on port 3690?

Well, I'm not sure. On Mac OS X I would check the Sharing system  
preference panel and if the firewall were on, I would add a rule for  
port 3690. But I don't use FreeBSD and so I don't know how you  
configure the FreeBSD firewall.

You could test with the telnet command. On the Mac, type:

	telnet 192.168.0.103 3690

If you get a response like this:

	( success ( 1 2 ( ANONYMOUS ) ( edit-pipeline ) ) )

then svnserve is running on the FreeBSD machine and the Mac should be  
able to connect to it.

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

Re: cannot checkout connection refused

Posted by Ryan Schmidt <su...@ryandesign.com>.
On May 20, 2006, at 19:57, Peter Michaux wrote:

> I have Mac OS X 10.3.9 on one computer and FreeBSD 6.1 on another.
> They are both connected to my router. If I start a webserver (Webrick
> for rails applications) on the FreeBSD machine I can view the website
> on my Mac by navigating to "http://192.168.0.103:3000/". So I know the
> two machines can talk to each other.
>
> On the FreeBSD machine I created a repository, did an initial "svn
> import" and can checkout the repostitory two ways. This is all on the
> FreeBSD machine.
>
> # cd /home/peter/
> # svn checkout file:///home/peter/projectA
> Checked out revision 1
>
> # cd /home/peter/
> # svnserve -d -r /home/peter/proj
> # svn checkout svn://localhost/projectB
> checkout out revision 1
>
> Now I would like to do a checkout on the Mac
>
> $ svn checkout svn://192.168.0.103/projectB
> subversion/libsvn_ra_svn/client.c:141: (apr_err=61)
> svn: Can't connect to host '192.168.0.103': Connection refused
> $ svn checkout svn://192.168.0.103:3690/projectB
> subversion/libsvn_ra_svn/client.c:141: (apr_err=61)
> svn: Can't connect to host '192.168.0.103': Connection refused

Is the FreeBSD machine using a firewall of some kind? Make sure to  
configure it to allow traffic on Subversion's port 3690.


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

RE: cannot checkout connection refused

Posted by Jeff Jensen <je...@upstairstechnology.com>.
 

> -----Original Message-----
> From: Nico Kadel-Garcia [mailto:nkadel@comcast.net] 
> Sent: Saturday, May 20, 2006 1:27 PM
> To: Peter Michaux; Subversion Users List
> Subject: Re: cannot checkout connection refused

[snip]

> Why not just use http://192.168.0.103:30000, and avoid 
> svnserve? There are enough fascinating potential firewall 
> issues that it just seems safer and saner to use the 
> HTTP/HTTPS access. 

Unless you can't get HTTP approach working!  :-(

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

Re: cannot checkout connection refused

Posted by Nico Kadel-Garcia <nk...@comcast.net>.
Peter Michaux wrote:
> Hi,
>
> I have Mac OS X 10.3.9 on one computer and FreeBSD 6.1 on another.
> They are both connected to my router. If I start a webserver (Webrick
> for rails applications) on the FreeBSD machine I can view the website
> on my Mac by navigating to "http://192.168.0.103:3000/". So I know the
> two machines can talk to each other.
>
> On the FreeBSD machine I created a repository, did an initial "svn
> import" and can checkout the repostitory two ways. This is all on the
> FreeBSD machine.
>
> # cd /home/peter/
> # svn checkout file:///home/peter/projectA
> Checked out revision 1
>
> # cd /home/peter/
> # svnserve -d -r /home/peter/proj
> # svn checkout svn://localhost/projectB
> checkout out revision 1
>
> Now I would like to do a checkout on the Mac
>
> $ svn checkout svn://192.168.0.103/projectB
> subversion/libsvn_ra_svn/client.c:141: (apr_err=61)
> svn: Can't connect to host '192.168.0.103': Connection refused
> $ svn checkout svn://192.168.0.103:3690/projectB
> subversion/libsvn_ra_svn/client.c:141: (apr_err=61)
> svn: Can't connect to host '192.168.0.103': Connection refused
>
> Any ideas what I should do?
>
> Thanks,
> Peter

Why not just use http://192.168.0.103:30000, and avoid svnserve? There are 
enough fascinating potential firewall issues that it just seems safer and 
saner to use the HTTP/HTTPS access. 

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