开发者

connect android device to local server xampp

I have an android application which takes data from the local server. I works properly on the emulator. But i need help as to how i can achieve this on the device itself. I have tried using the ipv4 but xampp gives a error which states

Access forbidden!

New XAMPP security concept:

Access to the requested directory is only available from the local network.

This set开发者_如何转开发ting can be configured in the file "httpd-xampp.conf".

I am not sure how i can configure it so that the device can use this address.

Thanks


Well, the phone needs to be on the local network (via wifi) or you need to change your httpd-xampp.conf to allow non-local clients to connect to your server, if it's accessible from outside of the network (I doubt it is).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜