Accessing Sync Gateway Admin from a remote host


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 If yes, where do we define it? sync-gateway-config.json file does not seem to have an option to port.

tcp 0 0* LISTEN


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