The existing solution bind the mongod server to all interfaces. This
exposes the server to the outside. This could be a potensial security
issue if someone has access to your network. This change allows you
to only bind the server to the host specified by the
mongodb_host parameter. The solution was created with a flag
defaulting to false to prevent this from being a breaking change.
Specifying the argument bind_to_host will add a bind argument to the
executable:
The existing solution bind the mongod server to all interfaces. This exposes the server to the outside. This could be a potensial security issue if someone has access to your network. This change allows you to only bind the server to the host specified by the
mongodb_host
parameter. The solution was created with a flag defaulting to false to prevent this from being a breaking change.Specifying the argument
bind_to_host
will add a bind argument to the executable:Info: The
bind_ip
argument supports hostnames, ipaddresses and socket paths so usinglocalhost
or127.0.0.1
is valid for binding to localhost only. To bind to all interfaces use0.0.0.0
.