I type this command in a Windows Command Prompt in XP.

telnet microsoft.com 80 

Connecting to microsoft.com appears and then telnet window opens, but there is nothing inside it.

If I type any command like GET / HTTP/1.1, it doesn't appear either.

Are my starting steps correct?

link|improve this question
Might be better suited to be asked in SuperUser... – Corey Ogburn Aug 17 '11 at 16:16
i think everything is working as it should - telnet does not echo it's prompt .. just make sure to use the proper commands and encoding ... sending some useless glibberish should prompt some answer though. – CKoenig Aug 17 '11 at 16:18
I m sorry, but what does that mean ?? – ShantanuD Aug 17 '11 at 16:18
feedback

migrated from stackoverflow.com Aug 17 '11 at 16:23

This question came from our site for professional and enthusiast programmers.

2 Answers

Telnet has no echoing by default. Enter telnet in interactive mode (no arguments, just execute telnet). Then type set localecho. Then open host port.

I suggest you to use netcat, easier to use and way more powerful. telnet is obsolete.

link|improve this answer
feedback

You're trying to connect to an HTTP server, that's what is on port 80 most of the time. The HTTP protocol requires that the guest start talking first. You may want to read up on HTTP if you want to explore: http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol

But connecting to port 80 won't get you a shell, telnet servers usually operate on port 23. But telnet is not really used over the Internet anymore because it's not secure.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown