• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 570
  • Last Modified:

How to telnet to remote machine

Today in the Morning , I have to test telnet to remote machine.
Windows XP = command prompt -  telnet - open - Ip address of remote machine

The message reply = Could not open connection to the host , on port 23. connect failed

How to preparation before telnet or minimum requirement before telnet to remote machine
4 Solutions
Dave BaldwinFixer of ProblemsCommented:
Telnet is pretty simple and does not need any preparation normally.  The regular Windows firewall will allow outgoing traffic while blocking unwanted incoming traffic.  Do you have something else for a firewall?
You need to make sure that the telnet service is running on the remote system as well as what DaveBadwin pointed out you need to add an exemption to allow connections on TCP port 23

note however, that telnet is a plain text mode and thus is insecure, it is often disabled on systems/devices in favor of ssh which is an encrypted communication.

putty is a good/light client that supports, telnet, ssh, etc.
As arnold has said, the telnet service must be running on the remote system, and it is most often disabled in favor of ssh.  Is there a reason you have to use telnet, rather than a ssh client?  The reason I ask is because ssh is almost always enabled and running on most systems.  It's simply a matter of getting a client (I use PuTTY ... it's free and works great), the proper credentials for logging in, and connecting.

Here is where you can get PuTTY:


Remember that ssh features end-to-end encryption and is safe to use.  Telnet is completely plain text and any snoopers can read complete exchanges, including usernames and passwords used to log in.  That's why telnet has pretty much fallen into disuse.

That said, if you are in a country that doesn't allow encryption, you can't use PuTTY and must use telnet.
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

first of all you have to make sure that telnet service or feature is running on your and remote machine. (Right Click on my computer icon then go to manage
click on "Computer management". In right window pain click on services and applications, open services and applications folder then go to services open it. Then search for telnet service make this service enable.)

then make sure that firewall doesn't block port 23 on TCP on both machines.

and at last i will recommend if you want remote session on WAN then go for ssh it will be safer.

Aman Vijay
ThenkungAuthor Commented:
Thank you
your welcome.... i hope i can help you more..


Aman Vijay
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now