File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes Changing CVS port on Linux Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Changing CVS port on Linux" Watch "Changing CVS port on Linux" New topic

Changing CVS port on Linux

Abiodun Adisa
Ranch Hand

Joined: Jan 17, 2002
Posts: 495
I am using Red Hat Linux and i want to know if there is a way that i can change CVS port
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17417

Yes there is. If you're using the pserver, you specify it in the inet.d or xinet.d configuration. inet/xinet is the "superserver", which allows lightweight servers to be loaded and run dynamically without the need to keep a daemon process running full-time. In effect, the listener part of the server is the inet daemon, which then hands off to the actual server.

What ports are listened for and what processes are attached to them are defined in the server config files.

Here's a xinetd example:

To assign a port, add a "port = nnnn" line. I think by default it's using the port defined in /etc/services.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Changing CVS port on Linux
It's not a secret anymore!