Hi Guys ,
I'm trying to setup a sync gateway and below are parameter entries that i'm making to my sync_gateway.json file but its failing while starting up.
{
"databases": {
"syncgateway": {
"bucket": "Test1",
"username": "sync_gateway",
"password": "Test#2021",
"enable_shared_bucket_access": true,
"import_docs": true,
"num_index_replicas": 0,
"users": {
"GUEST": { "disabled": false, "admin_channels": ["*"] }
"allow_conflicts": false,
"revs_limit": 20
}
}
}
i see the couchbase is running and i can open the gui and access it as well but unfortunately below is the log error message.
2021-05-12T22:25:03.714+05:30 ==== Couchbase Sync Gateway/2.8.2(1;4df7a2d) EE ====
2021-05-12T22:25:03.714+05:30 ==== Couchbase Sync Gateway/2.8.2(1;4df7a2d) EE ====
2021-05-12T22:25:03.721+05:30 [ERR] Error opening database syncgateway: 502 Unable to connect to Couchbase Server (connection refused). Please ensure it is running and reachable at the configured host and port. Detailed error: Fatal error connecting to bucket -- rest.RunServer() at config.go:1086
What could be wrong here ?
Regards;
sri