在android模拟器中测试localhost

我的web应用程序在localhost服务器上运行。 在我的模拟器中,URL是http:// localhost:8080 / myaction

是否有可能从服务器检索信息?


本地主机是设备自己的回送接口,如果你想访问你的开发机器使用10.0.2.2。

更多关于它的地方。

链接地址: http://www.djcxy.com/p/23683.html

上一篇: test the localhost in android emulator

下一篇: Does Realm models actually require getters and setters?