Mongodb – Mongosh doesn't connect to remote replica set but always tries on localhost
I have a weird issue while trying to connect to a remote Mongo replica set. This is my setup: on a remote machine I have three instances of MongoDB running on different ports, each belonging to the same replocal replica…