c - Couchbase: (Error while establishing TCP connection) -
i'm new couchbase , trying become old this.
at moment, i'm having problem, couldn't find solution in internet.
i'm trying compile , run code: couchbase example
compiling with: gcc -wall -g -o main main.c -lcouchbase (it compiles fine).
running with: ./main couchbase://127.0.0.1:8092/user1 pass
after calling lcb_get_bootstrap_status(instance)
, says:
(error while establishing tcp connection)
yes, have created 'user1' bucket, password: 'pass', , have disabled iptables too.
i'm using couchbase-server 2.5.1, on ubuntu 14.04
so, can me fix this?
port 8092 not correct port, in fact view api (capi, couch api, map reduce etc.) port. should typically not place port unless server configured listen on non standard port in first place.
Comments
Post a Comment