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

docker: Server running but not receiving any request #126

Closed
ishandutta2007 opened this issue Aug 31, 2018 · 1 comment
Closed

docker: Server running but not receiving any request #126

ishandutta2007 opened this issue Aug 31, 2018 · 1 comment

Comments

@ishandutta2007
Copy link

1st Terminal Window
ishandutta2007@MacBook-Pro:~/Documents/Projects/blockchain$ docker run --rm -p 80:5000 blockchain

2nd Terminal Window
ishandutta2007@MacBook-Pro:~/Documents/Projects$ curl http://127.0.01:5000/chain

curl: (7) Failed to connect to 127.0.01 port 5000: Connection refused

@ishandutta2007 ishandutta2007 changed the title Server running but not receiving any request docker: Server running but not receiving any request Aug 31, 2018
@passionofvc
Copy link

@ishandutta2007

wrong : curl http://127.0.01:5000/chain
correct:curl http://127.0.0.1:5000/chain

http://127.0.0.1 means localhost, 127.0.01 is not a IP.

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

3 participants