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

SVN on an alternate port

From: Dave Hoefler <dhoefler_at_gmail.com>
Date: 2006-01-30 02:21:58 CET

Hi all,

I've been trying to get Subversion to work correctly on my Ubuntu box
running on an alternate port. I've had no luck so far. It works just
fine when I'm inside my network. I can also ssh just fine on an
alternate port which I've set up in the /etc/ssh/sshd_config file.
This works when I'm outside of my network as well. However, when I'm
trying to checkout out a project outside of my network (at the coffee
shop, at school, at work (where I know all the ports are open),
etc...) I keep getting this error:

antrover:~/RubyProjects dhoefler$ svn checkout
svn+ssh://dhoefler@XX.XXX.XX.XX/home/svn/repos/rlog rlog
ssh: connect to host XX.XXX.XX.XX port 22: Connection refused
subversion/libsvn_ra_svn/marshal.c:252: (apr_err=210002)
svn: Connection closed unexpectedly

I've tried editing the /etc/services file to change the default ports
of ssh and svn to alternate ports. Of course I've restarted the ssh
service numerous times (<b>sudo invoke-rc.d ssh restart</b>). I've
followed these instructions
(http://svnbook.red-bean.com/nightly/en/svn.serverconfig.svnserve.html
) on getting SVN to work on an alternate port. Still no luck.

I've tried running svn as a daemon with an alternate port:

svnserve -d --listen-port=43369

I even tried creating a new tunnel within the
/home/svn/rlog/repos/conf/svnserve.conf that looks like:

[tunnels]
dhoefler = $DHOEFLER /opt/alternate/ssh -p XXXXX

Still no luck. I have no idea why this isn't working.

Any help would be much appreciated.

Thank you!
Dave Hoefler

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 30 02:23:06 2006

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

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