Meteor MongoDB login?



So i started my application in console with

meteor <app_name> --port $IP:$PORT

The app ran successfully. Then i opened a new terminal and tried to connect with MongoDB by using command meteor mongo but it says app isn’t running. I tried meteor mongo --port $IP:$PORT which resulted in same error. Then i tried meteor mongo --url (this was the site which was output by mongo server when i ran it) … I got the login prompt but i don’t know what the user/password is


Hey @x509 :slightly_smiling:,

Checkout this SO discussion on creating default users on Meteor:

Also this tutorial on users in Meteor:

Hope it’s helpful to you.