try this example,
telnet example.com 80
then enter in this text:
HEAD / HTTP/1.0
(notice, that's 'hit return twice after you're done')
Then you get back some headers.
Here's an example:
> telnet webmasterworld.com 80
Trying 64.33.51.156...
Connected to webmasterworld.com.
Escape character is '^]'.
HEAD / HTTP/1.0
HTTP/1.1 200 OK
Date: Fri, 30 Aug 2002 01:09:46 GMT
Server: Apache/1.3.26 (Unix) FrontPage/5.0.2.2510
Cache-Control: max-age=0
X-Powered-By: BestBBS v3.043
Connection: close
Content-Type: text/html
Connection closed by foreign host.
track back this:
http://ratdix.blogs.ie/2006/05/29/kirim-mail-menggunakan-telnet/
Comments