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

Re: port question

From: Ryan Schmidt <subversion-2008b_at_ryandesign.com>
Date: Mon, 23 Jun 2008 06:56:03 -0500

On Jun 23, 2008, at 04:30, maheshwar singh wrote:

> I have set up my subversion as a service in my Win2003 box, does
> the default port 3690 serve any purpose or can I use it for a
> different application.
> How do i change the default port?

It serves the purpose that port 3690 is registered to the Subversion
software by the Internet Assigned Number Authority [1], therefore
that's the best port number to use for svnserve, and no other
software should be using that port number.

You can have svnserve use a different port number if you like by
using its --listen-port option. See the book [2]. You will then also
have to specify that different port number in the URLs with which you
access this server. I don't know how or where you specify the --
listen-port option when starting svnserve as a Windows service.

If you want to use svn+ssh, then you don't need to start svnserve on
the server; it will be started for you every time you connect, and
will be stopped when it's done. The svn+ssh protocol usually uses the
ssh port, 22. To change this, you can change the port your ssh server
listens on. I don't know what ssh server is available with Windows or
how to configure it.

If you want to use Apache to serve your repository instead of
svnserve, then the usual Apache ports are used instead -- 80 for http
access, 443 for https access, though of course you can modify the
Apache configuration to change those port numbers as well if desired.

[1] http://www.iana.org/assignments/port-numbers

[2] http://svnbook.red-bean.com/en/1.4/svn.serverconfig.svnserve.html

To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-23 13:56:31 CEST

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.