Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
-
None
Description
page https://docs.mongodb.com/manual/tutorial/deploy-replica-set/#connect-to-one-of-the-mongod-instances
refers to the following command:
mongo
However it may be required to show the following command, because running mongo doesnt work if you change the port number:
mongosh localhost:<port-number>
Running with port number only : mongosh <port> doesnt work (!)
Scope of Changes
- Change the mongo command to be mongosh.
- Add a short sentence to the effect of "If your mongod is not running on the default port, specify the "port" option. You can link to the "port" option by using :option:`--port <mongosh --port>`