Sync gateway restrict 4985 port via authentication

Hi ,
Any way i can restrict public access to 4985 port. May be via username/password or certificate authentication.

It’s already restricted: the default configuration settings bind it to the loopback interface, so it’s impossible to connect to it from another host, unless you change the configuration to do so, which would be a very bad idea.

What problem are you trying to solve?