My question, to be clearer, is to create a server with mongodb in a cloud hosting (for example) and access it through another server.
Example: I have a mobile app. I hosted my mongoDB in a cloud hosting (ubuntu). I want to connect my app to db on the cloud server.
Is this possible? In what way?
I'm joining this learning and my question was just creating a server with MongoDB in a way that I could access it remotely. Out of localhost, you know? Unlike all the tutorials I've seen.