@atom_yang SG 1.4, CB Server 4.5.1, using Docker images with --net=couchbase
option
@andy I tried that too:
curl -i -H "Content-Type: application/json" -X PUT http://127.0.0.1:4985/mynewdb/ -d '{"server":"http://couchbase-server:8091","bucket":"mynewdb","users":{"GUEST":{"disabled":false,"admin_channels":["*"]}}}'
HTTP/1.1 502 Bad Gateway
Content-Type: application/json
Server: Couchbase Sync Gateway/1.4.0
Date: Wed, 16 Aug 2017 12:08:06 GMT
Content-Length: 264
{"error":"Bad Gateway","reason":" Unable to connect to Couchbase Server (connection refused). Please ensure it is running and reachable at the configured host and port. Detailed error: HTTP error 401 Unauthorized getting \"http://couchbase-server:8091/pools\": "}#