4 ms·
Nice. However: $ curl localhost:8080 & curl localhost:8080 <!doctype html> [...] curl: (7) Failed connect to localhost:8080; Connection refused
by fooyc 13y ago
Nice. However:
$ curl localhost:8080 & curl localhost:8080
<!doctype html>
[...]
curl: (7) Failed connect to localhost:8080; Connection refused
Yes, the server "restarts" after each request, and during the restart, it's not listening.
That's not what I would call a "server".
- lambda 13y agoThe socat version I posted https://news.ycombinator.com/item?id=6224060 https://news.ycombinator.com/item?id=6224060 fixes this problem, but is a bit more cumbersome.