I have been trying to do step 6 in this lab and mongo will not connect to the primary node. I use the command:
mongo --host “m103-repl/m103.mongodb.university:27001” -u “m103-admin” -p “m103-pass” --authenticationDatabase “admin”
This results in the system doing this until it gives up:
When I click run test it says that there is a node in the replica set but since I cannot connect to it I cannot add the others.
How do I correctly log in as the admin user I created?