mongostat ignores --port when used with --discover

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 1.7.6
    • Affects Version/s: 1.7.5
    • Component/s: None
    • None
    • Environment:
      windows 64bit, haven't tried other OSes
    • Windows
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

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

                Created:
                Updated:
                Resolved: