apt
depending on whether you're using Debian or Ubuntu.mongod.conf
and edit it with your favorite editor. Include any local IP addresses you want to allow to connect to your MongoDB instance.mongod
service after making these changesiptables
to allow access to MongoDB. Example below:http://<hostname>:7777
to start configuring Petio.