Setting user and allow remote access


I’m new to Mongo DB. I have no problem installing Mongo DB to Ubuntu. However I stuck at creating user, allow remote access for Compass or my app.

Is there anyone can guide me?

I recommend you take M103 course at

You might also find the following interesting.


Thanks for your answer.

Now I know the solution. In mongod.conf, don’t use, instead use the server IP address it self.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.