CB join cluster : Attention: Prepare join failed. Authentication failed. Verify username and password

Hi all,
I keep getting error Attention: Prepare join failed. Authentication failed. Verify username and password.
when trying to join to a node from a new node.
I forwarded all these ports : 8091-8096, 4369, 9100-9122, 9999, 18091-18096, 11207-11211, 21100-21299
And I can assure you the user/password combination is correct.
I’m using latest docker image from docker hub couchbase/server:latest

Any idea what I’m missing?

Do you have the docker images in a swarm such that the hostnames/ports are consistent between the nodes? During cluster joining, one node reaches out to the other, gets some information, and re-contacts it based on the hostname returned.

The other thought, but rare, is we did once see an ‘unusual’ password that didn’t encode correctly. It had some special characters in it.

I got it to work, adding --net=host parameter on running docker fixed the issue