java.net.UnknownHostException: www.google.com

Coderanch | Daniel Arnold | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    using a crawler to invoke a google search & analyse google results

    Coderanch | 5 years ago | Daniel Arnold
    java.net.UnknownHostException: www.google.com
  2. 0

    IO Exception on invoking execute() method of HttpGet class

    Stack Overflow | 6 years ago | Eugene
    java.net.UnknownHostException: www.google.com
  3. 0

    UnknownHostException when sending HTTPS/HTTP POST from Android Device

    Stack Overflow | 6 years ago | Martín Marconcini
    java.net.UnknownHostException: www.google.com
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. filpgame 15 times, last 4 months ago
  2. Indri Yunita 2 times, last 3 months ago
  3. bmacedo 1 times, last 5 months ago
  4. pranavprakash 7 times, last 6 months ago
  5. adawolfs 2 times, last 9 months ago
44 more registered users
50 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.UnknownHostException

    www.google.com

    at java.net.Inet6AddressImpl.lookupAllHostAddr()
  2. Java RT
    InetAddress.getAllByName
    1. java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
    2. java.net.InetAddress$1.lookupAllHostAddr(Unknown Source)
    3. java.net.InetAddress.getAddressesFromNameService(Unknown Source)
    4. java.net.InetAddress.getAllByName0(Unknown Source)
    5. java.net.InetAddress.getAllByName(Unknown Source)
    6. java.net.InetAddress.getAllByName(Unknown Source)
    6 frames
  3. Apache HttpClient
    AbstractHttpClient.execute
    1. org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45)
    2. org.apache.http.impl.conn.DefaultClientConnectionOperator.resolveHostname(DefaultClientConnectionOperator.java:278)
    3. org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:162)
    4. org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294)
    5. org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:640)
    6. org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479)
    7. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
    8. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:1066)
    9. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:1044)
    10. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:1035)
    10 frames
  4. Unknown
    HttpClientTutorial.main
    1. HttpClientTutorial.main(HttpClientTutorial.java:47)
    1 frame