Domain name resolution not working in Java Applications on Ubuntu64 9.04 machine. All other software resolves DNS correctly

后端 未结 2 2046
心在旅途
心在旅途 2020-12-14 03:21

I have an number of Java applications installed on an Ubuntu64 9.04 PC, and none of them can resolve domain names (there are multiple JRE\'s too - some of them are IBM produ

2条回答
  •  北海茫月
    2020-12-14 03:59

    This solution (-Djava.net.preferIPv4Stack=true) also works when there is long runing lookupAllHostAddr.

提交回复
热议问题