Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 731
Raghavendra Avatar asked Dec 10 '22 20:12

Raghavendra


1 Answers

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.

like image 124
Raghavendra Avatar answered Jan 18 '23 05:01

Raghavendra