title: Error when using anonymous user and pserver
body: <p>I have setup an anonymous cvs user to be able to check out my project from cvs without having to enter a password.</p>
  
  <p>However, when I try to login to cvs using the following command</p>
  
  <p><strong>cvs -d: pserver: anonymous@[HOSTNAME]:/home/cvs/cvsroot login</strong></p>
  
  <p>And then presss enter when prompted for a password</p>
  
  <p><strong>CVS Password:</strong></p>
  
  <p>I get the following error message</p>
  
  <p><strong>Internal error: get_cvs_port_number called for invalid connection method (ext): Invalid argument</strong></p>
  
  <p>This happens when trying to run this command on the same server that cvs is installed on. However, if I use this command on another server, it logs in without an error.</p>
  
  <p>I would like to run this command from the same server that CVS is installed, and then put it into an ant script to be able to do a CVS checkout without a prompt</p>