Unable to start sync_gateway


#1

i am trying to start sync_gateway from cmd with following command:
sync_gateway -url http://75.76.221.21:8091
i received following error:
20:33:23.014229 WARNING: Error installing Couchbase design doc: Put http://192.1
68.2.102:8092/omnibazaar/_design/sync_gateway: dial tcp 192.168.2.102:8092: Conn
ectEx tcp: A connection attempt failed because the connected party did not prope
rly respond after a period of time, or established connection failed because con
nected host has failed to respond. – db.installViews() at database.go:291
20:33:44.055739 WARNING: Error installing Couchbase design doc: Put http://192.1
68.2.102:8092/omnibazaar/_design/sync_housekeeping: dial tcp 192.168.2.102:8092:
ConnectEx tcp: A connection attempt failed because the connected party did not
properly respond after a period of time, or established connection failed becaus
e connected host has failed to respond. – db.installViews() at database.go:305
20:33:44.055739 FATAL: Error opening database: Put http://192.168.2.102:8092/omn
ibazaar/_design/sync_housekeeping: dial tcp 192.168.2.102:8092: ConnectEx tcp: A
connection attempt failed because the connected party did not properly respond
after a period of time, or established connection failed because connected host
has failed to respond. – rest.RunServer() at config.go:415


#2

It looks like the Couchbase server you are connecting to has a public (Internet) address, but the CBS cluster instances have been configured with private IP addresses in the 192.168. range and your client can’t connect to one of those 192.168. instances?

Andy