I’m running a Couchbase cluster in Docker containers on AWS. I’m trying to setup a second cluster, also in Docker containers on a local network to serve as a real-time backup of AWS cluster using XDCR. I’m able to add the second cluster as a ‘Remote Cluster’ in XDCR setup, however, replication is producing the following error and will not succeed:
Attention - 2016-09-29 18:40:02 127.0.0.1:Pipeline d100a706ebf7833f03a4482a53a48d4a/rentalcore/rentalcore failed to start, err=map[xmem_d100a706ebf7833f03a4482a53a48d4a/rentalcore/rentalcore_172.17.0.4:11210_0:dial tcp 172.17.0.4:11210: getsockopt: connection refused]
It looks like it’s trying to connect using a local IP address, rather than the public IP address used when configuring the ‘Remote Cluster’ connection? I have verified that port 11210 is accessible remotely. Does anyone have a working setup with multiple clusters using XDCR and Docker containers?
Thanks for any help!