Hello,
I didn’t found the download of N1QL for my 3.0.3 couchbase cluster. SO I have installed the Developer Preview of Couchbase Server 4.0 on another host called test1 not member of my production couchbase cluster.
From the test1 host I run N1QL and wanted to connect to the one of the nodes of the production couchbase cluster with IP 158.7.21.101, when running create index command, I have connection refused error. Where I am able to ping both the node of the production cluster with the test1 server. Any idea?
root@test1:/opt/couchbase/bin# ./cbq -engine=http://158.7.21.101:8093
Couchbase query shell connected to http:// 158.7.21.101:8093/ . Type Ctrl-D to exit.
cbq> CREATE PRIMARY INDEX ON forum
USING GSI;
ERROR : Post http:// 158.7.21.101:8093/query: dial tcp 158.7.21.101:8093: connection refused
cbq> CREATE PRIMARY INDEX ON forum
;
ERROR : Post http:// 158.7.21.101:8093/query: dial tcp 158.7.21.101:8093: connection refused
cbq> select * from system:indexes;
ERROR : Post http:// 158.7.21.101:8093/query: dial tcp 158.7.21.101:8093: connection refused
cbq>
root@test1:/opt/couchbase/bin# ping 158.7.21.101
PING 158.7.21.101 (158.7.21.101) 56(84) bytes of data.
64 bytes from 158.7.21.101: icmp_seq=1 ttl=64 time=0.505 ms
64 bytes from 158.7.21.101: icmp_seq=2 ttl=64 time=0.243 ms
64 bytes from 158.7.21.101: icmp_seq=3 ttl=64 time=0.257 ms
^C
— 158.7.21.101 ping statistics —
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.243/0.335/0.505/0.120 ms