[cvsnt] connect to 127.0.0.1(127.0.0.1):2402 failed

Arthur Barrett arthur.barrett at march-hare.com
Thu Jul 6 05:13:23 BST 2006


Tony,

> cvs -d C:/cvsrepos/test init
> cvs init: connect to 127.0.0.1(127.0.0.1):2402 failed
> cvs [init aborted]: Couldn't connect to lock server

The lock server is not installed and not running, or your
antivirus/firewall is preventing the connection.

> The first I think is " I have the port 2401 closed" 

The lock service runs on port 2402 - but a "good" firewall program wont
prevent a service connecting on 127.0.0.1 anyway - try opening port 2402
just to check though.

Otherwise it is probably that the cvslock service has not been
automatically installed and set running in the "services" windows
administrative control panel.

Try this if the firewall solution did not work:
cd C:\Archivos de programa\CVSNT\
.\cvslock.exe -i
net start cvslock

Or if that fails:
cd C:\Archivos de programa\CVSNT\
.\cvslock.exe -test

Then in another window:
cd C:\Archivos de programa\CVSNT\
.\cvs -d C:/cvsrepos/test init -a /cvsrepos-test


Regards,


Arthur Barrett







More information about the cvsnt mailing list