Node IP (instead of FQDN) to connect with Couchbase Server v7.2

FQDN is used for establishing the connection with CouchBase DB (CDB). Is it feasible to use Node IP (instead of FQDN) to connect with CDB? If yes, then please suggest how can we do it.

Will there be any problem if we use NodeIP rather than FQDN? Please suggest.

Regards,

Hi @RajeshC,

Have you already created a cluster using hostnames?

Our recommendation is generally to avoid using IP Addresses as node names, but it is possible. They’re just generally not as flexible as hostnames.

If you use hostnames you can change the underlying IP address, and you also have more options with complex network topologies (e.g. with Public/Private address on a cloud provider, you can use split-horizon DNS to make sure the connecting client has the correct IP).

There’s more details in Nodes | Couchbase Docs, and you may also want to look at Connectivity | Couchbase Docs.

Thanks,
Chris

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.