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