1

I can't use command telnet localhost, always get this error :

Connecting To localhost...Could not open connection to the host, on port 23: Connect failed

Even I have all ports allow connection in inbound and outbound rules in Windows firewall.

My OS : Windows 7

  • 2
    Do you actually have a telnetd running? It's not at all normal for Windows. – geekosaur Jul 9 '11 at 21:04
  • Hi geekosaur, do you mean enable telnet client in windows features ? If it is, yes I did. – ITFan Jul 9 '11 at 21:12
  • You need the telnet server; you have the client. – geekosaur Jul 9 '11 at 21:13
  • you should run netstat -aon see if the server is listening it probably isn't. listening on port 23 – barlop Jul 9 '11 at 21:18
  • Solved ! I have to enter 192.168.1.1 instead of "localhost" – ITFan Jul 9 '11 at 21:37
3

Windows 7 does not come with a telnet server installed by default. Here is how to install it:

http://technet.microsoft.com/en-us/library/cc770501(WS.10).aspx#bkmk_installVista

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.