Cannot access localhost from Android device

后端 未结 3 1290
心在旅途
心在旅途 2020-12-09 21:28

Emulator can access web service fromlocal host but my real device cannot although I use LAN ip address (192.168.xx.yyy) instead of 10.0.2.2. Of course, my android mobile was

3条回答
  •  执念已碎
    2020-12-09 22:10

    In my opinion, the below point is more important for developer community

    I am not a network expert; like me many developers may be there.

    change to 0.0.0.0:80 in httpd.conf is very important.

    In normal(default) settings, port 8888 throws error in WAMPSERVER (even in Windows Browser). That is why I explained the exact environment where port 8888 throws error.

    Specific information about what configuration throws error and what configuration works successfully is more important.

提交回复
热议问题