How can I remotely connect to MongoDB server (on my local machine) via internet?

I have a local latop running Ubuntu 16. I would like to turn this to a server running Mongodb and be accessible via the internet. May I know how I can do this?

try ngrok… https://ngrok.com and docs here: https://ngrok.com/docs

1 Like

Connecting via Meteor:

$ MONGO_URL="mongodb://username:PASSWORD@hatch.mongohq.com:27017/test" meteor

ref:http://stackoverflow.com/questions/22054856/using-meteor-mongo-on-localhost-but-with-remote-database