OurBigBook About$ Donate
 Sign in Sign up

Test server

Ciro Santilli (@cirosantilli, 37) ... Area of technology Information technology Computer Computer network Networking hardware Server (computing)
Updated 2025-07-16  0 By others on same topic  0 Discussions Create my own version
  • Table of contents
    • Ciro's nc HTTP test server Test server

Ciro's nc HTTP test server

 0  0
Test server
As per stackoverflow.com/a/52351480/895245 our standard test setup is:
while true; do
  resp=$"$(date): hello\n"
  len="$(printf '%s' "$resp" | wc -c)"
  printf "HTTP/1.1 200 OK\r\nContent-Length: $len\r\n\r\n${resp}\n" | nc -Nl 8000
done

 Ancestors (8)

  1. Server (computing)
  2. Networking hardware
  3. Computer network
  4. Computer
  5. Information technology
  6. Area of technology
  7. Technology
  8.  Home

 View article source

 Discussion (0)

New discussion

There are no discussions about this article yet.

 Articles by others on the same topic (0)

There are currently no matching articles.
  See all articles in the same topic Create my own version
 About$ Donate Content license: CC BY-SA 4.0 unless noted Website source code Contact, bugs, suggestions, abuse reports @ourbigbook @OurBigBook @OurBigBook