Docs Menu
Docs Home
/
MongoDB Manual
/ / / /

Self-Managed Configuration File Settings and Command-Line Options Mapping

The following table maps the configuration file settings and the related mongod and mongos command-line options.

Configuration File Setting
mongod and mongos Command-Line Options
net.ssl.sslOnNormalPorts
--sslOnNormalPorts
--sslOnNormalPorts
Starting in version 5.0:

MongoDB removes the --serviceExecutor command-line option and the corresponding net.serviceExecutor configuration option.

For earlier versions of MongoDB, refer to the corresponding version of the manual. For example:

  • https://www.mongodb.com/docs/v4.4

  • https://www.mongodb.com/docs/v4.2

  • https://www.mongodb.com/docs/v4.0

  • https://www.mongodb.com/docs/v3.6

  • https://www.mongodb.com/docs/v3.4

Back

Convert Command-Line Options to YAML