Raghavendra Raghavendra - 1 month ago 27
Android Question

Phonegap - Unable to download archive from the server

I am trying to run the phone gap application from my Phonegap Developer app. But getting error "Unable to download archive from the server".
I am connecting to the ip address which is shown in Phone gap Desktop application.

Answer

The PhoneGap desktop app showed the message "Server is running on http://192.168.56.1:3000," so I entered that IP address in the mobile app. This didn't work because my computer is behind a router.

I ran ipconfig from the command line (in Windows) and I saw the following line:

 IPv4 Address. . . . . . . . . . . : 10.0.0.10

So I entered 10.0.0.10:3000 instead of the public IP address, and it worked.