Windows 7x64: different feedback from Putty and command line client

0

I'm trying to telnet to a port on an Ubuntu server from a Windows 7x64 machine. When I use Putty it gives me a "Connection closed by remote host" error. When I use the windows telnet client from the command prompt, I get a blank screen with a blinking cursor and no error. When I type anything and press ENTER the telnet client exits.

What is most likely:

  • Putty is lying and I actually can connect to the port
  • The command line client is just not good at giving feedback when it can't connect

EDIT: When I telnet to the port 22 (SSH) the remote host sends a message "SSH-2.0-OpenSSH_5...." - I guess if the other port I'm attempting to reach were open it would say something? I'd love someone to confirm.

iftheshoefritz

Posted 2011-08-14T18:16:18.387

Reputation: 161

Answers

1

The remote host is closing the connection as soon as it gets any traffic through the stream, otherwise PuTTY would be reporting "connection refused."

This tends to be an issue with a firewall of some sort, but can also indicate issues with the listening service.

What service is it that you are connecting to?

Shane Madden

Posted 2011-08-14T18:16:18.387

Reputation: 686

It was port 631 for CUPS, but I think you've given me the info I need. – iftheshoefritz – 2011-08-14T18:51:57.797

0

To find out for sure, run Wireshark on your Windows machine during the connections.

mfinni

Posted 2011-08-14T18:16:18.387

Reputation: 526