Search code examples
httphttprequesttelnetputty

HTTP request always returns 408 error in PuTTY


I am a beginner in HTTP and web sockets.
I'm trying to test an HTTP connection via Telnet with PuTTY.
I do a connection to www.geekthis.net (for example) at port 80.
It connect and when I write GET /index.php HTTP/1.0 and press Enter.

It returns a 408 error "request time out".


Solution

  • Did you sent an empty line after the GET?

    Basically you need two "enters" after the GET.