Navigation
This version has reached end of life on October 2016. Learn more about upgrading your version of MongoDB.

sh.getBalancerHost()

sh.getBalancerHost()
Returns:String in form hostname:port

sh.getBalancerHost() returns the name of the server that is running the balancer.