Step 1
How did I enable access control for MongoDB?
Step 2
net:
bindIp: "*"
service mongo restart
Step 3
mongodb://<user>:<password>@<the server's IP address>:27017/<authentication database>
How did I enable access control for MongoDB?
net:
bindIp: "*"
service mongo restart
mongodb://<user>:<password>@<the server's IP address>:27017/<authentication database>