Default MongoDB Ports


27017 -> The default port for mongod and mongos instances. You can change this port with --port option

27018 -> The default port for mongod when running with --shardsvr command-line option or the 

                shardsvr value for the clusterRole setting in a configuration file.

27019 -> The default port for mongod when running with --configsvr command-line option 

                or the configsvr value for the clusterRole setting in a configuration file.

Comments

Popular posts from this blog

Auditing in Oracle database

Steps to enable archive log mode in Postgres database

rs.stepDown() in MongoDB replication