[SERVER-3144] mongo shell host & port doc issue Created: 25/May/11  Updated: 05/Apr/17  Resolved: 21/Feb/17

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: 1.8.1
Fix Version/s: 3.5.4

Type: Task Priority: Trivial - P5
Reporter: Gaetan Voyer-Perrault Assignee: Jonathan Reams
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Platforms 2017-03-06
Participants:

 Description   

mongo --host server1-west:27017

The --host parameter accepts a port as above, but this is not documented:

--port arg port to connect to
--host arg server to connect to

Resolution
===
Doc needs to be updated or the behavior needs to be changed ("you specified a port in your host name, please use --port")



 Comments   
Comment by Githook User [ 21/Feb/17 ]

Author:

{u'username': u'jbreams', u'name': u'Jonathan Reams', u'email': u'jbreams@mongodb.com'}

Message: SERVER-3144 Don't allow --port in shell if --host also specifies a port
Branch: master
https://github.com/mongodb/mongo/commit/16ee301e2c958905d859378ab5ef316c9bf05308

Generated at Thu Feb 08 03:02:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.