[SERVER-2457] mongostat ignores --port when used with --discover Created: 01/Feb/11 Updated: 12/Jul/16 Resolved: 02/Feb/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 1.7.5 |
| Fix Version/s: | 1.7.6 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | AndrewK | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
windows 64bit, haven't tried other OSes |
||
| Operating System: | Windows |
| Participants: |
| 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. |
| Comments |
| Comment by auto [ 02/Feb/11 ] |
|
Author: {u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}Message: fix --port --discover for mongostat |
| Comment by AndrewK [ 01/Feb/11 ] |
|
this also fails: PS D:\bin\mongodb-win32-x86_64-1.7.5\bin> .\mongostat.exe --discover --host localhost --port 5001 localhost socket exception |