1

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 setting 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

2
  • What local server? Is this on your computer? Commented Sep 6, 2011 at 10:15
  • ya and i want to connect my mobile phone Commented Sep 6, 2011 at 10:20

1 Answer 1

2

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).

Sign up to request clarification or add additional context in comments.

1 Comment

What IP does your computer have? What IP does your phone have? How are you trying to access your local xampp server?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.