Details
-
Bug
-
Resolution: Fixed
-
Critical
-
Cheshire-Cat
-
Untriaged
-
1
-
Unknown
Description
Cluster is configured with alternate address/port using command:
# /opt/couchbase/bin/couchbase-cli setting-alternate-address -c 172.23.104.90 --username Administrator --hostname cluster.com --password password --set --node 172.23.104.90 --ports n1ql=9000,n1qlSSL=19000 |
Node config:
[root@localhost tmp]# /opt/couchbase/bin/couchbase-cli setting-alternate-address -c 172.23.104.90 -u Administrator -p password --list |
Hostname Alternate Address Ports (Primary/Alternate)
|
n1ql n1qlSSL
|
172.23.104.90 cluster.com 8093/9000 18093/19000 |
172.23.104.91 |
From another node, I cannot connect via alternate host/port:
[root@localhost bin]# ./cbq -u Administrator -p password -e cluster.com --networkconfig=external |
ERROR 100 : N1QL: Connection failed Post http://cluster.com:9000/query/service: dial tcp 172.23.104.90:9000: connect: connection refused |
|
or
|
|
[root@localhost bin]# ./cbq -u Administrator -p password -e cluster.com:9000 --networkconfig=external |
ERROR 100 : N1QL: Connection failed Post http://cluster.com:9000/query/service: dial tcp 172.23.104.90:9000: connect: connection refused |
N1QL: Unable to connect to cluster endpoint http://cluster.com:9000/. Error Get http://cluster.com:9000/pools: dial tcp 172.23.104.90:9000: connect: connection refused |