允许Android模拟器中的应用程序访问内网
这个问题可能已经被问过一百遍了。但我似乎看不到任何答案。如何设置 Android 模拟器,以便在其中运行的应用程序可以访问在我们的 Intranet (LAN) 中设置的 Web 服务器?
我尝试设置代理/端口(在 Android 的设置中以及启动模拟器时指定 -http-proxy),但我无法让我的应用程序连接到 Intranet。
希望有人能给我快速答复,因为这确实很紧急。
谢谢和问候, 拉伊
This probably has been asked a hundred times. But I can't seem to see any answer. How do I set the Android emulator so that my app running in it can access a web server set up in our intranet (LAN)?
I have tried setting the proxy/port (both in the settings in Android and specifying -http-proxy when launching the emulator) but I can't get my app to connect to the intranet.
Hopefully, someone can give me a quick answer as this is really urgent.
Thanks and regards,
Rai
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您无需向模拟器添加任何新配置即可工作。它使用您的笔记本电脑或系统所拥有的网络。它是您系统上的一个新桥设置,用于与外界进行通信。
因此,我建议您检查您的系统是否能够连接到已设置的网络服务器。
You do not need to add any new configuration to the emulator to work. It uses the network what your laptop or System has. It is a new bridge setup on your system using which it communicates to the outside world.
So, I suggest, you check if your system is able to connect to the web server is setup.