Windows – telnet port 23 connection failed window 7

porttelnetwindows 7

I'm using windows 7 and I'm trying to connect to my router with telnet:

  • open cmd
  • type telnet xxx.xxx.xxx.xxx.

Result is could not open connection to the host, on port 23:connection failed.

What I have already tried:

  1. Control panel -> Program and Features -> Turn windows features on or off – Check telnet client box (I also checked Telnet server but it gives an error)
  2. Control panel -> Windows Firewall -> Advanced setting -> Inbound rules -> New rules -> Port 23, TCP – Allow the connection, domain/private/public
  3. I can't find Telnet as a service. I don't know how to uninstall, reinstall.

I tried cmd net start telnet – then I get: service name invalid

Best Answer

You don't need to do anything else to windows to get the telnet client working. You already get an error message from it saying could not open connection to host on port 23: connection failed - telnet client is operating, just not how you'd like. Either:

  • The IP address is wrong (can you ping the device?)
  • The device is not available at that IP (again can you ping the IP?)
  • Outbound connections on your Windows Firewall are blocked (outbound to connect to a device)
  • Or most likely telnet is not supported or turned on in your router (Which router do you have?)

If your router supports remote command line access (not all of them do) then it may be SSH (Secure Shell) on Port 22. If you are using Windows then a popular package is Putty - but there are other clients available.

Related Question