Using hosted mongo db while development


Please suggest me how can I use the mongodb in a different server while developing my app in localhost.
I can not find any place to give mongodb url. There is an option of giving url while packaging, but nothing is there while development, it is always taking its default local database.

Thank you


In your terminal, before meteor, run:

export MONGO_URL=mongodb://yourmongourl


Thank you very much it worked.