Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-14716

correction to replicaset documentation

    XMLWordPrintableJSON

Details

    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>`

      Attachments

        Activity

          People

            jeffrey.allen@mongodb.com Jeffrey Allen
            dror.mikdash@mongodb.com Dror Mikdash (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 40 weeks, 2 days ago