Hi,
I’m having a problem running couchbase-cli node-init
.
When I run it with a valid –cluster
option (ip address), it returns immediately with
ERROR: Could not listen: eaddrnotavail
When I run it with invalid ip address, it waits approx 15 sec and returns
Unable to connect to host at http://10.10.22.223:8091
When I run couchbase-cli server-list
with the same valid –cluster
option, it returns
ns_1@ip-10-10-22-222.ec2.internal ip-10-10-22-222.ec2.internal:8091 healthy active
I don’t understand why it is returning this eaddrnotavail. I have plenty of ephemeral ports. I’m using 5.5.0. The entire dialog is below:
ec2-user@ip-10-10-23-234 /]$ couchbase-cli node-init --cluster=10.10.22.222 \ --node-init-hostname=ip-10-10-23-234.ec2.internal \ --node-init-data-path=/mnt/datadisk/data \ --node-init-index-path=/mnt/datadisk/index\ --user=Administrator --pass=password ERROR: Could not listen: eaddrnotavail [ec2-user@ip-10-10-23-234 /]$ couchbase-cli node-init --cluster=10.10.22.223 \ --node-init-hostname=ip-10-10-23-234.ec2.internal \ --node-init-data-path=/mnt/datadisk/data \ --node-init-index-path=/mnt/datadisk/index --user=Administrator --pass=password ERROR: Unable to connect to host at http://10.10.22.223:8091 [ec2-user@ip-10-10-23-234 /]$ couchbase-cli server-list --cluster=10.10.22.222 \ -u Administrator -p password ns_1@ip-10-10-22-222.ec2.internal ip-10-10-22-222.ec2.internal:8091 healthy active [ec2-user@ip-10-10-23-234 /]$