Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to connect to my computer through telnet. I've turned telnet client and server on. I've opened port 23 on my computer firewall and on my router.

But when i test it:


I've got this error:

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


the telnet service was disabled. enabling it solve the problem

share|improve this question

closed as off-topic by EEAA, MDMarra, mdpc, Tim Brigham, Ward Aug 7 '13 at 1:33

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions must be relevant to professional system administration. Server Fault is a site dedicated to professionals; novice questions are off-topic. Please see the Help Center for more information on topicality. The best advice we can give you is to hire a professional to help you out." – EEAA, MDMarra, mdpc, Tim Brigham, Ward
If this question can be reworded to fit the rules in the help center, please edit the question.

Are you trying to telnet from the same network or from another network? – joeqwerty Aug 6 '13 at 17:57
from the same computer – nir Aug 6 '13 at 18:06
Why on earth are you using telnet in 2013? – MDMarra Aug 6 '13 at 18:40
As a web browser :P – john Aug 6 '13 at 19:33
because i need to connect and send command to windows servers through java. and since there isnt ssh on windows, only telnet - i use telnet.. – nir Aug 7 '13 at 8:39
up vote 1 down vote accepted

Check the services console and verify that the Telnet service is running.

share|improve this answer

Do you have a telnet clients user group on your local machine? Run lusrmgr.msc and check. If so, add your user account to it. Have you tried with the windows firewall completely turned off? I haven't touched the telnet server in ages, but do you have a configuration option to either bind it to your IP address or since it is your local machine?

It's also very possible that you can't telnet to the same machine you are on due to how it loopbacks. Try doing this from another machine on your network.

share|improve this answer

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