Database Reference
In-Depth Information
Understanding the core components
Inside this category, you can find the core processes that are required to start the MongoDB
server. The MongoDB engine uses these tools to accept requests from different clients.
The components and executable files in this group are as follows:
•
mongod
•
mongo
•
mongos
Understanding mongod
The
mongod
component is the primary process that is needed for MongoDB to start the
server. It manages requests or queries and handles connections.
The following screenshot is the result of executing
mongod
from the command-line inter-
face:
The preceding screenshot illustrates the result of running
mongod
from the command line,
that is, you finally have a MongoDB server running on port 27017 and a web interface on
port 28017, which is the default port.
Like other MongoDB commands, in order to see the parameters of the
mongod
process,
you can simply run following command:
mongod --help