Hi, would you please help to find the error?
Hi @farideh_gorji,
The correct command will be
mongo admin --host m103-repl/localhost:27001 \
--u m103-admin --p m103-pass...
It will be localhost:27001
instead of m103.mongodb.university:27001
If you notice we have mentioned it in the lecture notes of Setting Up a Replica Set video about our change in the old hostname.
I hope it helps!
Thanks,
Kushagra
2 Likes
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.