Windows – telnet: Could not open connection to the host, on port 23

telnetwindows

I need to telnet, to localhost. I am on windows.

Once I got the error 'telnet is not recognized...' I looked online and found that I should do pkgmgr /iu:"TelnetClient".

I did, then telnet localhost (0r 127.0.0.1, maybe with a port at the end), I get error:

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

I added the port to the firewall, disabled the firewall.. run as admin..

Please help me get telnet to work! Thank you.

Best Answer

Do you have a telnet server installed locally? If not, you will not be able to connect to 127.0.0.1 on port 23. Also, why telnet? some specific reason? Why not just open a command prompt considering you are connecting to 127.0.0.1 and already have a command prompt open.

FYI - I highly suggest checking out a tool called PuTTy. It is a SSH/Telnet/Serial terminal application for windows that allows you to save connection details, set various options for your session, etc. Best of all, it's free!

Related Question