controlling ports: connection refused

Peter Michaux petermichaux at gmail.com
Sat May 20 11:34:07 PDT 2006


Hi,

I'm having fun getting things working with FreeBSD. Hopefully I won't
have too many questions for you guys but another speedbump. This looks
like a SVN question but I think it is really a FreeBSD question.

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 a Rails web applications) on the FreeBSD machine, then 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 an svn 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

So I know svn is working.

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?

On my mac I tried

$ telnet 192.168.0.103 3000
Trying 192.168.0.103...
Connected to 192.168.0.103.

but when I try port 3690 (the default port for svn)

$ telnet 192.168.0.103 3690
Trying 192.168.0.103...
telnet: connect to address 192.168.0.103: Connection refused
telnet: Unable to connect to remote host


Thanks,
Peter
Thanks,
Peter


More information about the freebsd-questions mailing list