Telnet on Port 80
There are several websites ahowing how to use telnet on port 80, but I noticed that
those methods worked on only some websites. After doing some research and a lot of thinking, I
came up with the solution.
If you want to retrieve the html from a specific website, you can do as follow:
On Windows 2000, Windows XP or Windows 2003, go to Start > Run, type CMD and
then press enter.
On Windows 98, and Windows ME, go to Start > Run, type COMMAND and
then press enter.
It will open the command prompt, there, type telnet <domain name> 80 and then press enter.
After a few seconds, the screen will show nothing, that means that you are connected. There type:
GET /index.html HTTP/1.0 and then press enter twice. If the html that you get is some kind of error,
then try GET /index.html HTTP/1.0 then press ONLY once enter, and then type
host: www.<domainname>.com
and then press enter twice.
Using telnet on port 80, you can send the same information that your browser sends to the webserver on the header.
To find out what your browser sends on the header, I recommend using
Firefox
and the extension
Live HTTP Headers