Knowledgebase & Downloads
The knowledgebase provides documentation written by our team. Please select a category or search for answers.
Java.net.UnknownHostException thrown from my Java application
Q: My Java web application gets data from other sites, however when it tries to access these domains an UnknownHostException is being thrown. For example:
A: Please check all hosts that your app connects to. You may check with 'ping' command or verify that DNS translates the domain names to IP addresses correctly with an online DNS tester like http://tracert.com/resolver.html
Any of the domains/hostnames may have DNS broken or might have it broken temporarily so that your Java application could not resolve domain name to IP and thrown UnknownHostException.
- © 2016 JVMHost.com All rights are reserved.