Restricting MongoDB access by explicitly binding mongod to an IP address
You can explicitly bind mongod to a particular IP address such as a private network. You do so by using the bindIp configuration file option. For details, see https://docs.mongodb.com/v2.6/reference/configuration-options/#bind_ip .
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*