将android设备连接到本地服务器xampp
我有一个android应用程序,它从本地服务器获取数据。我在模拟器上工作正常。但是我需要关于如何在设备上实现这一点的帮助。我尝试过使用ipv4,但xampp给出了一个错误,其中指出将android设备连接到本地服务器xampp,android,xampp,localhost,Android,Xampp,Localhost,我有一个android应用程序,它从本地服务器获取数据。我在模拟器上工作正常。但是我需要关于如何在设备上实现这一点的帮助。我尝试过使用ipv4,但xampp给出了一个错误,其中指出 Access forbidden! New XAMPP security concept: Access to the requested directory is only available from the local network. This setting can be configured in
Access forbidden!
New XAMPP security concept:
Access to the requested directory is only available from the local network.
This setting can be configured in the file "httpd-xampp.conf".
我不确定如何配置它,以便设备可以使用此地址
谢谢好的,手机需要在本地网络上(通过wifi),或者您需要更改httpd-xampp.conf以允许非本地客户端连接到您的服务器,如果可以从网络外部访问(我怀疑是这样)。什么本地服务器?这在你的电脑上吗?我和你想连接我的手机你的电脑有什么IP?你的手机有什么IP?您如何尝试访问本地xampp服务器?