How would I use a (live running) MongoDB to develop another meteor app? I tried modifying (.meteor/server/server.js
) and specifying MONGO_URL
to no ava
I found that you should not forget to specify the database to connect to. In my case, I wanted a second Meteor instance to connect to the development MongoDB server from a first instance.
Meteor uses the HTTP port +2 for a development MongoDB, and database 'meteor', so the correct way to start the second server is:
MONGO_URL=mongodb://localhost:3002/meteor meteor --port=3800