Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to identify the port of minimongo running inside meteor?

Tags:

mongodb

meteor

I am novice in meteor. I was developing an application which leverages the mongo db which comes with the meteor package. The meteor is running under the port 3000, but i want to know under what port the mini mongo runs. I am using a tool MongoVUE to view all the collections that is under mongo running in a port. I was able to view the mongo collections when i run the standalone mongo since i know the port for that but for this mini mongo running under meteor i am not able to know the port. Any help is appreciated.

like image 985
raddykrish Avatar asked Jul 05 '12 19:07

raddykrish


1 Answers

Mingomongo runs in the browser, it's a client-side Javascript library.. it runs in memory, it doesn't have a port.. it enables you to query data published by the server in your client application, using MongoAPI style syntax..

to get the connection string of the Mongo instance running on the server (say, if you want to connect from a different client, or just see the port number) run

meteor mongo -U
like image 85
Lloyd Avatar answered Oct 18 '22 08:10

Lloyd