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

mongostat ignores --port when used with --discover

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

      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 Eliot Horowitz (Inactive)
            Reporter:
            andrewk AndrewK
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: