Failing to connect Alpha with Zero - Need help in setting the docker cluster setup

This is docker related. You should use the container naming in the “my” flag (address). Instead of localhost or some IP. And, as you gonna expose the cluster anyway. It will be accessible for your app via localhost or IP. The “my” flag is about the communication between Dgraph instances.

See
https://github.com/dgraph-io/dgraph/issues/4580#issuecomment-574850341

1 Like