【发布时间】:2015-12-26 19:48:31
【问题描述】:
当我的 android 应用程序使用 10.0.0.2:8080 连接到我在 wampserver 中的项目时,我可以连接到 localhost:8080,但是我使用 laravel 并且我的 Web 服务位于 localhost:8000 中。我想从模拟器连接到 IP 10.0.0.2:8000 的 laravel 服务器中的 Web 服务,但我无法连接到它。
在 10000 毫秒后无法连接到 /10.0.2.2(端口 8000)。 我尝试了 localhost:8000 和其他一些 IP,使用哪个 IP 连接到 laravel 服务器?
【问题讨论】:
标签: android laravel networking android-emulator