Prepare join failed. Could not listen on address : eaddrnotavail

I am trying to add a new cluster to existing server on Amazon EC2. But I am getting the same error again and again. Even I add all necessary ports in inbound and outbound. I little new to the couch server. It will be grateful if anyone can help me how to solve this issue.

Prepare join failed. Could not listen on address “XX.XX.XX.XX”: eaddrnotavail

Hi,

It’s quite likely the network configuration isn’t right in some way. Best practices covering how to configure network are here.

Alternatively, you could simply use our AWS Marketplace offer to do the deployment. That’s here.

-Ben

1 Like

It could also happen if permissions are not correctly set for directory to be used by couchbase user.
For example, Say if we are installing couchbase on /couchbase volume, then one needs to do

chown -R couchbase.couchbase /couchbase