You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by maheshwar singh <ma...@hotmail.com> on 2008/06/23 09:30:50 UTC
port question
Sorry if this question is dumb
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?
Maheshwar
_________________________________________________________________
Catch the latest fashion shows, get beauty tips and learn more on fashion and lifestyle.
http://video.msn.com/?mkt=en-in
Re: port question
Posted by Puneet Lakhina <pu...@gmail.com>.
On Mon, Jun 23, 2008 at 15:00, maheshwar singh <ma...@hotmail.com>
wrote:
>
> Sorry if this question is dumb
>
>
>
> 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.
You are free to use a different port using the --listen-port command line
argument to svnserve.
If you use a different port, then you will have to specify this port at
every client.
hence suppose you change the default port to 3691
then the working copies would have to be checked out using something like
this
svn co svn://<hostname or ipadd>:3691/MyProject/
whereas if you were using the default port only then you wouldnt need to
mention the port number
svn co svn://<hostname or ipadd>/MyProject/
>
> How do i change the default port?
>
>
>
> Maheshwar
>
> ________________________________
> Live.in : Get your yourname@live.in email id today. Powered by Windows
Live Hotmail. Check it out!
--
Puneet
http://sahyog.blogspot.com/
Latest Post: javac -g
Re: port question
Posted by Ryan Schmidt <su...@ryandesign.com>.
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@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org