Enable Authentication – Create Admin/Root User in MongoDB

By default, authentication is disabled in MongoDB, but this is not so critical as, out of the box, MongoDB is listening on localhost only. If you are going to allow remote connections to MongoDB, then it is definitely needed to enable authentication. In the following article i will show how to enable authentication in MongoDB […]

Share:
Continue Reading

Allow Remote Access to MongoDB

Out of the box, MongoDB doesn’t allow remote connections, because by default it has no authentication enabled and is listening on localhost only. If you try to connect to MongoDB without remote access being allowed, you will get this error:

In this article i will show how to allow remote access to MongoDB. Allow […]

Share:
Continue Reading