Sync Gateway Container not accessible via browser

query

#1

I’m trying to run sync gateway as container on AWS -AMI and connect it to cbase-server container running on same AMI. But I’m not able to access the sync via browser in my system.

Here is the o/p I get when I start the sync_gateway container.

docker run -p 4984:4984 -p 4985:4985 dcd8a14ef981 -url=http://ec2-54-148-57-23.us-west-2.compute.amazonaws.com:8091/ -interface=0.0.0.0:4984 -bucket=sync_gateway 2016-02-29T10:30:20.126Z ==== Couchbase Sync Gateway/HEAD(nobranch)(9df63a5) ==== 2016-02-29T10:30:20.127Z requestedSoftFDLimit < currentSoftFdLimit (5000 < 1048576) no action needed 2016-02-29T10:30:20.128Z Opening db /sync_gateway as bucket "sync_gateway", pool "default", server 2016-02-29T10:30:20.128Z Opening Couchbase database sync_gateway on 2016/02/29 10:30:21 Trying with selected node 0 2016/02/29 10:30:21 Trying with http://172.17.0.2:8091/pools/default/bucketsStreaming/sync_gateway 2016/02/29 10:30:24 Trying with selected node 0 2016/02/29 10:30:25 Got new configuration for bucket sync_gateway 2016/02/29 10:30:26 go-couchbase: call to Do("_sync:seq") in github.com/couchbase/go-couchbase.(*Bucket).Incr took 327.058002ms 2016-02-29T10:30:26.936Z **NOTE:** "sync_gateway"'s sync function has changed. The new function may assign different channels to documents, or permissions to users. You may want to re-sync the database to update these. 2016-02-29T10:30:26.936Z Using default sync function 'channel(doc.channels)' for database "sync_gateway" 2016-02-29T10:30:26.939Z Reset guest user to config 2016-02-29T10:30:26.940Z Starting profile server on 2016-02-29T10:30:26.940Z Starting admin server on 127.0.0.1:4985 2016-02-29T10:30:27.261Z Starting server on 0.0.0.0:4984 ...

#2

Got this issue fixed the had some issue with my firewall…
Thanks anyways.