I was able to reproduce your issue but found the behaviour when adding
You should be able to connect just with: mongo host1,host2,host3
You should be aware that this does not give you full connection pool
The mongo shell is designed to be a 1:1 interface.
Where did you get the /?replicaSet=fooset syntax?
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.