info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing default port for pserver and kserver


From: Larry Jones
Subject: Re: Changing default port for pserver and kserver
Date: Fri, 14 Sep 2001 14:35:22 -0400 (EDT)

Arash Khodabandeh writes:
> 
> I would like to change the default ports for a pserver and a kserver.
> For a kserver, CVS uses the CVS_CLIENT_PORT, but the manual does not
> mention any variable for the pserver. Is the pserver port hard coded?

The current version allows you to specify a port number in CVSROOT:

        http://www.cvshome.org/docs/manual/cvs_2.html#SEC26

If that's not set, it uses the value of the $CVS_CLIENT_PORT environment
variable.  If that's not set, it uses the getservbyname() library
routine to look up the port assigned (typically in /etc/services) to
"cvspserver".  Only if that's not set does it finally default to the
hard-coded value (CVS_AUTH_PORT).  Older versions did not allow the port
in CVSROOT and may not have looked at $CVS_CLIENT_PORT.

-Larry Jones

Summer vacation started!  I can't be sick! -- Calvin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]