I am forced to create a cluster of CouchBase 4 servers that are running under 2 different AWS accounts - we are doing that for backup purposes.
In both accounts we opened port 4369 on CouchBase servers.
While trying to add the 2nd server into the cluster from the 1st server (with the 2nd server’s public IP) we see the following error:
“Failed to reach erlang port mapper. Timeout connecting to “2nd_server_PRIVATE_IP” on port “4369”. This could be due to an incorrect host/port combination or a firewall in place between the servers.”
It looks like the problem might happen because the 2nd server’s public IP is somehow translated into its PRIVATE_IP.
How can we resolve this?