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 want to check an HTTP response message,(I should have seen a response message that includes the base HTML file), with this

To telnet into your favorite Web server. Type in a one-line request message for some object that is housed on the server: for example:

telnet cis.poly.edu 80

GET /~ross/ HTTP/1.1

Host: cis.poly.edu

First, I tried to do this using cmd:

  • I type telnet,
  • after that i type o
  • then cis.poly.edu 80

After this, I get connecting to cis.poly.edu... this never changes, it doesn't even say it failed connection!

Also, I tried this http://windows7themes.net/how-to-telnet-in-windows-7.html but it still doesn't work.

share|improve this question

migrated from stackoverflow.com Mar 14 '13 at 12:23

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

1  
Alternative, install fiddler; fiddler2.com/fiddler2 run it then simply open the url in your browser, fiddler will display the complete set of data associated with the request –  Alex K Mar 14 '13 at 11:38
1  
You should use curl (curl.haxx.se; curl -v http://cis.poly.edu/~/ross) for this sort of thing. –  cfeduke Mar 14 '13 at 11:50
    
It is a prompt that waits for you to input a Request manually. See here for an example. –  Bentley4 Nov 7 '13 at 19:58

2 Answers 2

Telnet on Windows by default does not "echo" what you type -- just type the relative URL to what you want, and you should get the HTML page -- or a HTTP status code such as 404.

Example: GET /index.html

share|improve this answer
    
u mean i type "GET /index.html" in cmd ? still not working! –  user1375518 Mar 14 '13 at 12:15

The host cis.poly.edu seems to have moved on to bigger and better things than serving web pages. Try using a host that you know is running a web server.

share|improve this answer

Your Answer

 
discard

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