Skip to content

Tag: dns

A strange UnknownHostException

In a web project . I see the log: but when I ping, it’s ok, I also telnet 2181 successfully! I found the similar question so I run the DomainResolutionTest in my Server java DomainResolutionTest but it’s ok ! env: java version “1.6.0_25” Java(TM) SE Runtime Environment (build 1.6.0_25-b06) Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed