[SERVER-5035] mongo behaves strangely Created: 22/Feb/12 Updated: 15/Aug/12 Resolved: 22/Feb/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Tools |
| Affects Version/s: | 1.8.5 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Tomas Pecholt | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Win2003 |
||
| Attachments: |
|
| Operating System: | ALL |
| Participants: |
| Description |
|
if I try to connect with mongo.exe to database server and I don't specify the port number mongo issues weird error message and doesn't connect. If i specify port number it works. I see 2 problems here: sample session attached |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 22/Feb/12 ] |
|
the default port is 27017, not 27018 --shardsvr puts it on 27018 as a non-default port so that you have to be explicit |
| Comment by Tomas Pecholt [ 22/Feb/12 ] |
|
same applies to db.runCommand( {addshard:server}) |