-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
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.