Friday 21 April 2017

Cannot access AWS EC2 server from localhost (curl times out)

I'm trying to proxy a node.js server with an ngnix. My issue is that I can't access (curl nor nginx) my node.js server on localhost,

When opening its 3000 port to the exterior, I can see my node js server running. But curl and nginx cannot access it.

One weired thing is that we have a mongodb started and that one can be accessed on localhost without any issues

My instance id is the following : i-0fef394cbc350a4f4

Here's the link to the nginx server that cannot find localhost and therefore times out : http://ec2-54-246-136-64.eu-west-1.compute.amazonaws.com/

I cannot find another way to demonstrate that we cannot access curl localhost:3000



via Zied Hamdi

No comments:

Post a Comment