mongod

The MongoDB database server. More information: https://docs.mongodb.com/manual/reference/program/mongod.

mongod --dbpath path/to/directory

mongod --config path/to/file

mongod --port port

mongod --profile 0|1|2