Open a raw TCP connection to a web server with telnet
Open a raw TCP connection to a web server with telnet
Answer
telnet example.org 80
No port means telnet tries 23. Always name the port. This is the acceptance test for every server you write in this course: if telnet cannot get a sane reply out of it by hand, no client will.
Harold 4e ch6 §The Protocol; ch8 §Investigating Protocols with Telnet