You therefore need to listen on the external IP inside the container, and the easiest way to do that is by listening on all interfaces: 0. I’ve created two application, which run on the torizon in the different containers. I did switch offices a while ago so my IP has changed, could that be an issue? I'm pretty sure thats the problem, but how to update it? I have been having issues with copying since switching offices. Kestrel Unable to bind to http localhost:5000 on the IPv6 loopback interface: ‘Cannot assign requested address’. With Amazon EC2 and elastic IPs, the server does not truly know its IP as with most other servers. docker ps output PG::ConnectionBad: could not connect to server: Connection refused Is the server running on host 'localhost' (127. I had a similar problem, i think docker has an internal DNS server or something and 'localhost' doesn't mean the same thing to a native and a dockerized app.
Failed to open TCP connection to localhost:9200 (Cannot assign requested.
Cannot assign requested address localhost docker on.