- Reference >
mongoShell Methods >- Sharding Methods >
- sh.getBalancerHost()
sh.getBalancerHost()¶
-
sh.getBalancerHost()¶ Returns: String in form hostname:portsh.getBalancerHost()returns the name of the server that is running the balancer.
mongo Shell Methods > sh.getBalancerHost()¶| Returns: | String in form hostname:port |
|---|
sh.getBalancerHost() returns the name of the server that is
running the balancer.