Android设备需要与meteor服务器(VM)位于同一网络上

Android设备需要与meteor服务器(VM)位于同一网络上,android,meteor,ionic-framework,virtual-machine,vmware,Android,Meteor,Ionic Framework,Virtual Machine,Vmware,我的android设备和meteor服务器需要在同一网络上通信(参见警告消息)。我的meteor服务器在Ubuntu上运行,安装了VMWare Workstation 12播放器,我的android连接到本地WiFi。我怎么做 $ meteor run android-device --port 3001 => Started proxy. WARNING: You are testing your app on a remote device. For the mobile app t

我的android设备和meteor服务器需要在同一网络上通信(参见警告消息)。我的meteor服务器在Ubuntu上运行,安装了VMWare Workstation 12播放器,我的android连接到本地WiFi。我怎么做

$ meteor run android-device --port 3001

=> Started proxy.
WARNING: You are testing your app on a remote device. For the mobile
app to be able to connect to the local server, make sure your device
is on the same network, and that the network configuration allows
clients to talk to each other (no client isolation).
=> Started your app.                                            
=> App running at: http://localhost:3001/     
=> Started app on Android Device.

在VMWare菜单中,转到
Player>Manage>Virtual Machine Settings>Network Adapter
,然后选择
Bridged
。也许你需要重新启动你的虚拟机,但我没有


如果您的物理机器运行Windows,您可以使用Ubuntu上的
ifconfig-a
ipconfig
检查这两台主机是否在同一网络中。如果它不工作,请尝试从物理机ping连接到本地网络的其他设备(有时提供程序设备会过滤内部流量)。

在VMWare菜单中,转到
Player>Manage>Virtual machine Settings>network Adapter
并选择
Bridged
。也许你需要重新启动你的虚拟机,但我没有

如果您的物理机器运行Windows,您可以使用Ubuntu上的
ifconfig-a
ipconfig
检查这两台主机是否在同一网络中。如果它不工作,请尝试从物理机器ping连接到本地网络的其他设备(有时提供商设备会过滤内部流量)