我已经设置了MONGO_URL环境变量,但仍然是meteor启动自己的mongodb服务器。 它没有显示错误消息。 我怎样才能使用外部mongodb?
xxx@xxx-WSG68F55W8-0007:~/development/ocd_chn/ui$ echo $MONGO_URL
mongodb://10.145.4.148:27017/meteor
xxx@xxx-WSG68F55W8-0007:~/development/ocd_chn/ui$ sudo meteor
Unable to update package catalog (are you offline?)
[[[[[ ~/development/ocd_chn/ui ]]]]]
=> Started proxy.
=> Started MongoDB.
=> Started your app.
=> App running at: http://localhost:3000/
mongodb在10.145.4.148:27017机器上运行,我可以在robomongo上访问它