Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

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

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

    
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
    
type "telnet microsoft.com 80", enter, type "GET/HTTP/1.0" (won't show on screen), Then press enter twice. (Don't type quotes) Don't bother though, it's just an error. –  user175737 Nov 25 '12 at 4:27
add comment

2 Answers 2

up vote 3 down vote accepted

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.

share|improve this answer
add comment

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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