Accessing Sync Gateway Admin from a remote host

Hello,

We have setup Sync Gateway on our Development Couchbase server and opened the port 4985. However, we are not able to access admin URL from the remote host.

From the netstat, port seems to be binding to localhost. Do we need to bind it to an IP address assigned to the local host vs 127.0.0.1? If yes, where do we define it? sync-gateway-config.json file does not seem to have an option to port.

tcp 0 0 127.0.0.1:4985 0.0.0.0:* LISTEN

Thanks.

You can change the adminInterface configuration setting to allow remote access. That said, for security reasons, it is discouraged to allow remote admin access unless you use some secure mechanism like SSH tunneling. More info on this here