diff --git a/lib/charms/mongodb/v0/helpers.py b/lib/charms/mongodb/v0/helpers.py index 7f9085250..f63366e42 100644 --- a/lib/charms/mongodb/v0/helpers.py +++ b/lib/charms/mongodb/v0/helpers.py @@ -94,7 +94,7 @@ def get_mongos_args(config: MongoDBConfiguration) -> str: cmd = [ # mongos on config server side should run on 0.0.0.0 so it can be accessed by other units # in the sharded cluster - "--bind_ip", + "--bind_ip_all", f"--configdb {config_server_uri}", # config server is already using 27017 f"--port {Config.MONGOS_PORT}",