2009-07-24 69 views
1

檢查此錯誤,請幫助我。什麼是「嘗試查找錯誤的IP地址的主機條目」錯誤?

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 

我正在運行在GNU for Windows上運行web服務的objC代碼。

爲什麼會出現此錯誤?

回答

0

第一行表示無法找到DNS服務器的IP地址。

第二種是某種回退,帶有難以置信的神祕錯誤。看起來它正在嘗試使用主機名作爲IP地址(因此IP地址不正確)或ARP解析使用主機名作爲IP地址的反向DNS。

基本上修復DNS到該主機,兩者都將被解決。