java.net.UnknownHostException

前端 未结 5 2239
我寻月下人不归
我寻月下人不归 2020-12-29 20:40

I\'m installing CSVN using jdk1.6.0_23 and I\'m getting the following Java error:

2011-02-10 16:25:50,951 [WrapperJarAppMain] WARN util.GrailsUtil -         


        
5条回答
  •  情歌与酒
    2020-12-29 21:01

    I can succesfully ping vkqgae01, but nslookup cannot resolve it.

    Any ideas?

    What happens?

    • vkqgae01 is resolved locally thanks to your hosts file.
    • nslookup sends a query to your DNS, where vkqgae01 is unknown.


    Suggestion: add vkqgae01 to hosts file of every machine where you "use" it.
    Basically, the fact that the local hosts file on vkqgae01 contains 127.0.0.1 localhost vkqgae01 doesn't help other machines to solve its name.

提交回复
热议问题