Talking Directly to a Web Server

If you want to talk directly to a web server, you can telnet to port 80 and type your HTTP requests on the console. (You can do this with other services too, if you telnet to the right port.) This might be useful if you’re trying to debug a connection. Here’s an example:

Using the GET command, I typed “GET /~aeckford/helloworld.html” and retrieved that page from my department’s server:

(Also try: telnet towel.blinkenlights.nl )

Leave a Reply

Your email address will not be published. Required fields are marked *