pronk icon indicating copy to clipboard operation
pronk copied to clipboard

What am I doing wrong?

Open dubiousdavid opened this issue 13 years ago • 1 comments

curl http://localhost:8000/greeting/david

returns

<!DOCTYPE HTML>
<html><head><title>Hello</title><meta http-equiv="Content-Type" content="text/html;charset=utf-8"></head><body>Hello, david!
</body></html>

pronk --num-requests=100 http://localhost:8000/greeting/david

tested in 2.374 msec (74.8% CPU) Error: connect: does not exist (Connection refused)

The following works, however.

pronk --num-requests=100 http://yahoo.com

dubiousdavid avatar Dec 08 '12 16:12 dubiousdavid

It seems the issue is with using "localhost." If I change that to a host in my host file, everything works. Anyone else experience this issue?

David

dubiousdavid avatar Dec 09 '12 00:12 dubiousdavid