Reputation: 3
I have my own system mongodb in my local machine(port : 27017)
And my meteor application is running same mahine fine when i am using the meteor mongo(port : 28017)
I have tried use the my system mongo using the floowing command
export MONGO_URL=mongodb://localhost:27017/ibm_project
Meteor Server started properly.
when i tried to access the URL, after couple of minutes, my system/PC is shuting down.
I am not sure what's wrong I am doing and can you please help me
Upvotes: 0
Views: 1625
Reputation: 293
Are you using windows command prompt? first check by typing below command
meteor mongo --url
above command will display your mongo url.If you want to run any other database in your local app, go to root folder and type below command
set MONGO_URL=mongodb://[username]:[password]@[host]:[port]/[databasename]
eg-set MONGO_URL=mongodb://root:[email protected]:48474/mydb
above command is working on windows
Upvotes: 1