curl: (7) Failed to connect to localhost port 8090: Connection refused curl: (7) Failed to connect to localhost port 8090: Connection refused curl curl

curl: (7) Failed to connect to localhost port 8090: Connection refused


Inside a docker container the localhost and 127.0.0.1 refer to the container itself. In order to access the host machine running dockerd with your container you must refer to the host by its public hostname/IP as if it was another machine on the network.