[SERVER-13097] Support changing http interface port using "net.http.port" in new config files Created: 07/Mar/14  Updated: 07/Jul/17  Resolved: 07/Jul/17

Status: Closed
Project: Core Server
Component/s: HTTP Console
Affects Version/s: 2.6.0-rc1
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Shaun Verch Assignee: DO NOT USE - Backlog - Platform Team
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-16543 Wrong error message for net.http.port Closed
Related
Participants:

 Description   

The config file should support a "net.http.port" option: https://github.com/mongodb/mongo/blob/r2.6.0-rc1/src/mongo/db/server_options_helpers.cpp#L220

But currently it is not supported and does not do anything: https://github.com/mongodb/mongo/blob/r2.6.0-rc1/src/mongo/db/server_options_helpers.cpp#L407

In previous versions there has been no way to change this port, so this is not a regression. There should probably be a corresponding command line option.


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