Windows Phone 8 模拟器网络问题 [英] Windows Phone 8 emulator Network issues
问题描述
首先,我承认我是 Windows Phone 8 应用程序的新手.所以不要评价它低.所以请原谅我.
First of all, I admit I am new in Windows Phone 8 application.So do not rate it as low. So please forgive me.
我已经创建了 WCF 服务,我得到了结果,但是当我在 Windows Phone 中运行时,它返回错误:System.ServiceModel.CommunicationException",我知道为什么会发生这种情况,这是由于网络问题而发生的.
I have created WCF service, I am getting the results but when I run in windows phone, its returning error: "System.ServiceModel.CommunicationException", and I know why this is happening, it is occuring due to network problems.
我的模拟器没有从我的系统获取 netowrk,我有 Wifi 网络,如果我的系统中没有互联网,以防我提供静态 IP.那就是问题所在.如何解决这个问题?
My emulator is not getting netowrk from my system, I have Wifi network, and if there is no internet in my system, in case I have given static IP. That is the problem. How to solve this issue?
推荐答案
我也遇到了同样的问题.但是,正如其他人在官方论坛上指出的那样,如果您在路由器中为 PC 设置了静态 IP,则它不起作用.删除它并让 DHCP 为我的电脑分配一个 IP 为我解决了这个问题.
I had the same issue as well. However as someone else pointed out on the official forums it didn't work if you had a static IP for your PC set up in your router. Removing it and let the DHCP assign my PC an IP solved the issue for me.
这篇关于Windows Phone 8 模拟器网络问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!