Hey i am trying to create a Cluster with 2 hardware devices. I have a Docker Container running on each device with a Couchbase Server. I am not allowed to use “–net=host” because of security reasons.
Both devices are on the same network. After setting up the Cluster on Device A, i tried joining the Cluster with Device B, using the IP-Address of Device A. I can find Device A, since i get an error, if the password is incorrect. After finding Device A, Device B tries to connect to its own internal IP-Address of the Docker-Container. I already tried using external IP-Address for Device A but i get the same problem.
It works fine with setting “–net=host”, so there should be a way to get this working right? Anyone got some ideas, why Device B is using the internal IP-Address instead of the external IP-Address from Device A? I openend all the necessary Ports on both devices and there is no firewall at all.
Hi @Maxkii
When you create a cluster or add a node to one, on that UI screen you can set the hostname of the node being added. I think if you set this to the external IP that will help.
These docs may be useful also.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.