Phonegap - 无法从服务器下载归档 [英] Phonegap - Unable to download archive from the server

查看:171
本文介绍了Phonegap - 无法从服务器下载归档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从我的Phonegap开发者应用程序运行手机应用程序。但得到错误无法从服务器下载归档。
我连接到电话差距桌面应用程序中显示的IP地址。

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.

推荐答案

PhoneGap桌面应用程序显示消息服务器正在 http://192.168.56.1:3000 上运行,因此我在移动应用中输入了该IP地址。

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.

我从命令行(在Windows中)运行ipconfig,我看到了以下行:

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

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

所以我输入10.0.0.10:3000而不是公共IP地址,工作。

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

这篇关于Phonegap - 无法从服务器下载归档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆