Discussion:
can't telnet to webserver
(too old to reply)
jammer
2008-11-17 17:17:28 UTC
Permalink
I was under the impression you could telnet to port 80 of any
webserver and do a GET /

This website works for me but telnet doesn't.

telnet www.new.hvacpartners.com 80
GET /

I'm trying to figre out why the website doesn't work for someone else.
teebo
2008-11-22 03:35:27 UTC
Permalink
Post by jammer
I was under the impression you could telnet to port 80 of any
webserver and do a GET /
yes but when more then one website (hostname) lives on the same
machine (ip number) you have tell http version and say which of
them you want to get a page from

telnet www.new.hvacpartners.com 80
GET / HTTP/1.1
Host: www.new.hvacpartners.com


(pressing Enter two times after the host-line so
that it is an empty CR/LF line telling that you
are finnished sending parameters)

Loading...