Closed surgicalmittens closed 5 years ago
Confirmed as a bug, thanks @surgicalmittens
I did some thinking on this, and it actually makes sense that this is the case. You are creating a docker
container that is running Elite
. The Elite docker container's loopback address is not the same as the Covenant docker container's loopback address. Covenant is not running within the Elite docker container. To connect to Covenant, you need to specify an address that Covenant is listening on and that Elite can route to.
So this is expected behavior. With that being said, the reason the loopback address does not work is non-obvious and we should include a better error message that explains this to the user. Leaving this issue open until that is added.
Added a better error message in 389eebdd0f6fdda27d0133e603ff0856d95352e4
I was spinning this up in my lab using the docker commands and trying to run Covenant and Elite on the same host. Covenant started correctly, but it appears Elite can't bind to the loopback.
It works if I put the local IP address in place of 127.0.0.1.
Thanks.