Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-2457

mongostat ignores --port when used with --discover

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.7.6
    • 1.7.5
    • None
    • None
    • windows 64bit, haven't tried other OSes
    • Windows

    Description

      when using --discover, --port is ignored.

      PS D:\bin\mongodb-win32-x86_64-1.7.5\bin> .\mongostat.exe --discover --port 5001

      localhost:27017 couldn't connect to server localhost:27017

      work around is to use -h

      PS D:\bin\mongodb-win32-x86_64-1.7.5\bin> .\mongostat.exe --discover -h localhost:5001

      succeeds.

      Attachments

        Activity

          People

            eliot Eliot Horowitz (Inactive)
            andrewk AndrewK
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: