MongoDB Documentation, Release 3.0.4 listIndexes netstat serverStatus validate top Internal Actions anyAction internal Default MongoDB Port System Event Audit Messages Audit Message The event auditing feature (page 330) can record events in JSON format. To configure auditing output, see Configure System Events Auditing (page 398) The recorded JSON messages have the following syntax: Note: Available only in MongoDB Enterprise$^{85}$. Allows internal actions. Do not assign this action except for exceptional circumstances. Allows any action on a resource. Do not assign this action except for exceptional circumstances. The following table lists the default ports used by MongoDB: User can perform the top command. Apply this action to the cluster resource. User can perform the validate command. Apply this action to database or collection resources. User can perform the serverStatus command. Apply this action to the cluster resource. User can perform the netstat command. Apply this action to the cluster resource. User can perform the ListIndexes command. Apply this action to database or collection resources. $^{85}$http://www.mongodb.com/products/mongodb-enterprise?jmp=docs Chapter 6. Security 424 Default Port Description 27017 The default port for mongod and mongos instances. You can change this port with port or --port . 27018 The default port when running with --shardsvr runtime operation or the shardsvr value for the clusterRole setting in a configuration file. 27019 The default port when running with --configsvr runtime operation or the configsvr value for the clusterRole setting in a configuration file. 28017 The default port for the web status page. The web status page is always accessible at a port number that is 1000 greater than the port determined by port .