WTF? CVS connection refused?

oboeguy

Diamond Member
Dec 7, 1999
3,907
0
76
$ cvs login
Logging in to :pserver:myloginname@cvs.example.com:2401/usr/cvs/myproject
CVS password:
cvs [login aborted]: connect to cvs.example.com(xxx.xx.xx.xxx):2401 failed: Connection refused

N.B. Substitued real IPs and whatnot for bogus data.

I don't get it -- I can get to it from two other machines using my login info, but not from my work laptop (primary machine for work, dang it). I've googled the heck out of this problem, and nobody seems to have the same exact problem (OK, so I looked every link in the first 2-3 pages of results...). The machines from which I can login successfully:

1) Linux box at work
2) my home PC using cygwin in XP

The problem laptop is using cygwin in win2k. CVS worked a few days ago, and now it pukes. Firewall is off, etc. Suggestions?

Edit: I suck at quoting.
 

Beau

Lifer
Jun 25, 2001
17,730
0
76
www.beauscott.com
When you connect to it from another computer, do you have a direct connection or are there firewalls inbetween you and the boxes. Seems like the port is just not open.
 

oboeguy

Diamond Member
Dec 7, 1999
3,907
0
76
Originally posted by: Beau
When you connect to it from another computer, do you have a direct connection or are there firewalls inbetween you and the boxes. Seems like the port is just not open.

AFAIK, no firewalls on any of the machines. The weirdest part for me is that it *used* to work just fine. One day it up and changed its mind.
 

Sunner

Elite Member
Oct 9, 1999
11,641
0
76
Can you connect via telnet(ie, telnet cvs.example.com 2401)?
Maybe they don't like you and blocked you in their firewall?

But then, connection refused sounds like nothing is listening on that port, tends to be most of the time.
 

oboeguy

Diamond Member
Dec 7, 1999
3,907
0
76
Originally posted by: Sunner
Can you connect via telnet(ie, telnet cvs.example.com 2401)?
Maybe they don't like you and blocked you in their firewall?

But then, connection refused sounds like nothing is listening on that port, tends to be most of the time.

Oh they like me OK -- it's my employer's repository. :D I'd agree about nothing listening, except that cvs works from other machines.
 

Sunner

Elite Member
Oct 9, 1999
11,641
0
76
Originally posted by: oboeguy
Originally posted by: Sunner
Can you connect via telnet(ie, telnet cvs.example.com 2401)?
Maybe they don't like you and blocked you in their firewall?

But then, connection refused sounds like nothing is listening on that port, tends to be most of the time.

Oh they like me OK -- it's my employer's repository. :D I'd agree about nothing listening, except that cvs works from other machines.

So, can you connect by just doing a telnet on the 2401 port?
Our company CVS returned this when I tried that:
cvs [pserver aborted]: bad auth protocol start:
 

oboeguy

Diamond Member
Dec 7, 1999
3,907
0
76
Telnet doesn't work, but I'm not surprised, because it doesn't work from anywhere (any of my machines, that is). I get a blank screen when trying.

Win2k doesn't have its own firewall, right? I disabled the annoying 3rd-party firewall a long time ago on this laptop (dropped connections galore).

Edit: I'm taking the laptop home to see if it works from there. That should help isolate the problem.
 

Sunner

Elite Member
Oct 9, 1999
11,641
0
76
Originally posted by: oboeguy
Telnet doesn't work, but I'm not surprised, because it doesn't work from anywhere (any of my machines, that is). I get a blank screen when trying.

Win2k doesn't have its own firewall, right? I disabled the annoying 3rd-party firewall a long time ago on this laptop (dropped connections galore).

Edit: I'm taking the laptop home to see if it works from there. That should help isolate the problem.

If you get a blank screen, you've probably got a connection.
Try just typing anything and punching enter.¨

If you don't get a connection, it'll just time out.

If it's actively denying you, you'll get a connection refused.
 

oboeguy

Diamond Member
Dec 7, 1999
3,907
0
76
There's definitely something wrong with my laptop's CVS or some firewall hiding on it, because the same problem happenned at home.
 

oboeguy

Diamond Member
Dec 7, 1999
3,907
0
76
FYI, it was some weird firewall issue. I restarted the firewall the laptop has, then shut the firewall down, and suddenly everything worked.