Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What am I doing wrong? #14

Open
dubiousdavid opened this issue Dec 8, 2012 · 1 comment
Open

What am I doing wrong? #14

dubiousdavid opened this issue Dec 8, 2012 · 1 comment

Comments

@dubiousdavid
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant