I’m trying to add some node to a cluster. This node is located behind NAT. The other nodes of the cluster aren’t.
I guess this node uses it’s LOCAL IP address while establishing a connection . Therefore I get an error saying "unable to connect to 192.168.0.1 blablabla"
Is there a way to define an external address of a node?
- You can setup VPN
- You can install Couchbase Server 2.1+ and use DNS name, when adding node to cluster.
See: http://docs.couchbase.com/couchbase-manual-2.2/#release-notes-for-couchbase-server-210-ga-june-2013 and http://docs.couchbase.com/couchbase-manual-2.2/#couchbase-getting-started-hostnames
Thank you very much.
Your answer helped to solve my problem. I used DNS names.