I’m trying to connect to a remote couchbase server, the connection callback fires ok. But if i try to get a key i get a [Error: Operation timed out] code: 23 error and if i try to query a view i get a [Error: Unknown REST Error]

The web interface works, and i can access views on :8092

I’ve also tried to with port forwarding but get the same result (ssh ec2-user@54.252.223.35 -N -L 8091:localhost:8091 -L 8092:localhost:8092 -L 11210:localhost:11210 -L 11211:localhost:11211)

When the client connects to the node via the public address to get the cluster topology. It will reply with the list of all the nodes in the cluster. If you added the node to the cluster using the local IP then the client will try and access the nodes using those IP addresses. Which will not work as they are in the private range.

The general advise is to use the FQDN when adding nodes to the cluster This means inside EC2 it will resolved to the local private IP address but outside of EC2 it will resolved to a public facing IP address.

Ok. Even after we switched to FQDN we seemed to have issues without 11211 open, but that may have just been an illusion. Will post back here if those issues arise again. But FQDN is necessary to resolve the issues described above for sure. Thanks!