I’m making a Phonegap app and need to retrieve some information from an external service through an ajax request.
How can I make an ajax request from a Phonegap app to localhost at port 8000?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you make the request to localhost the request will be routed to the device itself. If you want your phone/device to talk to your desktop machine you will need to specify it’s hostname or IP address.