经过研究,我设法从Bluestacks访问了Windows的localhost。如果我在BlueStacks中打开Google Chrome并输入10.0.2.2:/...我可以访问Windows的本地主机。
反之,我该怎么做呢?有没有办法从Windows连接到Bluestacks的本地主机?
发布于 2020-06-02 12:15:02
使用ipconfig检查您网络中的IP (在控制台中输入ipconfig )
应该有这样的内容:(这里: VirtualBox)
Ethernet adapter VirtualBox Host-Only Network:
Connection-specific DNS Suffix . :
Autoconfiguration IP Address. . . : 169.254.106.123
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :169.254.106.123是您要查找的地址。
使用ping查看它是否正常工作,运行一台服务器,您就可以连接到它。
https://stackoverflow.com/questions/62144648
复制相似问题