Asking devs to edit their /etc/hosts file on their local machine is quite an embarrassing “solution”.

What is the actual solution to this problem from MongoDB® that doesn’t rely on hacks? It seems mongo ignores the --bind_ip_all flag when running with a replica set.