~/ learn/ comp-348/ cards/ HTTP
1 of 27

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

space flip · ← → navigate · esc to exit
NORMAL ~/memra/library/0a211fb2-017c-46e5-89b1-d8698ca35a93/flashcard utf-8 LF