1

检查此错误,请帮助我。

2009-07-24 15:58:34.209 LBS[2636] Host 'staging.common.virtualearth.net' not found using 'gethostbyname()' - perhaps the hostname is wrong or networking is not set up on your machine
2009-07-24 15:58:34.209 LBS[2636] Attempt to lookup host entry for bad IP address (staging.common.virtualearth.net)
NOTE: you should run 'diskperf -y' to enable the disk statistics

我正在运行 objC 代码以在 GNU for Windows 上访问 Web 服务。

为什么会出现这个错误?

4

1 回答 1

0

第一行说它无法从 DNS 服务器中找到 IP 地址。

第二个是某种回退,带有令人难以置信的神秘错误。看起来它正在尝试使用主机名作为 IP 地址的反向 DNS(因此错误的 IP 地址)或使用主机名作为 IP 地址的 ARP 解析。

基本上将DNS修复到该主机,两者都将得到解决。

于 2009-07-24T11:02:30.057 回答