Mongoimport to the mongo instance run by meteor


#1

Here is a typical mongoimport command for populating the mongo instance used by meteor:
mongoimport --port 3001 --db meteor --collection users --file users.json
This command assumes --host 127.0.0.1
So the command fails on cloud9’s setup.
This also fails:
mongoimport --host $IP --port 3001 --db meteor --collection users --file users.json

What should it be?


#2

This works:
mongoimport --port 8081 --db meteor --collection users --file users.json