开发者

How to config computer/phone network to access local web server via USB (Android:GAE)?

开发者 https://www.devze.com 2023-01-12 15:19 出处:网络
Current configuration Use Android emulator and GAE tools (to access local GAE service I set uri http://10.0.2.2:8888/XXX and it works.

Current configuration

Use Android emulator and GAE tools (to access local GAE service I set uri http://10.0.2.2:8888/XXX and it works.

Question

I would like to use Android device(phone) via USB to call web service running on connected "local" computer. Wh开发者_运维知识库at is best configuration practice ((I don't have static IP) I am using mac and linux)?


If you can connect both the local computer and your phone to the same wireless network, you could just access your PC from your phone by the IP address of the computer's wifi interface.

0

精彩评论

暂无评论...
验证码 换一张
取 消