I'm new to both Meteor.js and MongoDB and after installing Meteor in the official way described I wonder how to connect to my MongoDB.
MongoDB was installed by Meteor during the installation and everything works fine but now I would like to have a look into it with another tool (like RazorSQL) to see what's in there.
But the standard connection parameters (localhost:27017) doesn't work, what can I do? Login? Password?
Update: February 2014 - Meteor 0.7.1 - The meteor port has been shifted to 3001 instead of 3002. So instead of adding two to the port meteor runs on, you add 1 instead.
MongoDB's database is installed in the meteor package containing your files in a hidden folder called .meteor
. To access it from a remote tool simply add 2
to whatever your web server port is while meteor is running. It will be stored in the meteor database
e.g
http://localhost:3000
would have its mongodb server running at mongodb://localhost:3002/meteor
there is no username/password on this instance if you ran it with meteor
or meteor run