Android Meteor应用程序连接到本地主机mongodb

Android Meteor应用程序连接到本地主机mongodb,android,mongodb,meteor,Android,Mongodb,Meteor,在我的本地计算机上,我已经安装了一个meteor应用程序并在localhost:3000上运行,mongodb在localhost:3001上运行 现在我想在我的android手机上运行我的meteor应用程序。我希望我手机上的meteor应用程序连接到我计算机上的mongodb数据库(localhost:3001) 当我运行我的应用程序时,我使用以下命令: MONGO_URL="mongodb://user:password@internalipadres:3001/meteor" meteo

在我的本地计算机上,我已经安装了一个meteor应用程序并在localhost:3000上运行,mongodb在localhost:3001上运行

现在我想在我的android手机上运行我的meteor应用程序。我希望我手机上的meteor应用程序连接到我计算机上的mongodb数据库(localhost:3001)

当我运行我的应用程序时,我使用以下命令:

MONGO_URL="mongodb://user:password@internalipadres:3001/meteor" meteor run android-device
这可能吗?有人知道会是什么吗?
Thanx提供任何帮助。

请确保您了解只有您的服务器连接到您的MongoDB。您的客户端(无论是浏览器还是Android应用程序)仅通过服务器接收数据

您描述的是一个非常常见的用例。但是,实际上是服务器连接到本地MongoDB