java.net.UnknownHostException: localhost.localdomain: localhost.localdomain

Oracle Community | 658434 | 9 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    When kafka creates new consumers, it simply concatenate the name of your VM to generate the consumer id. So, your VM resolves localhost as the name of your VM, not whatever you had set. To solve, add kafka(or the name of VM) plus address to /etc/hosts
  2. 0

    Unknown host exception

    Oracle Community | 9 years ago | 658434
    java.net.UnknownHostException: localhost.localdomain: localhost.localdomain
  3. 0

    hadoop eclipse 三(转)

    verydemo.com | 1 year ago
    java.net.UnknownHostException: localhost.localdomain: localhost.localdomain
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Tomcat log

    Oracle Community | 1 decade ago | 843841
    java.net.UnknownHostException: localhost.localdomain: localhost.localdomain
  6. 0

    Tomcat log

    Coderanch | 1 decade ago | Alan Shiers
    java.net.UnknownHostException: localhost.localdomain: localhost.localdomain

  1. nasimk 2 times, last 5 months ago
  2. mortalman7 1 times, last 9 months ago
11 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

    localhost.localdomain: localhost.localdomain

    at java.net.InetAddress.getLocalHost()
  2. Java RT
    InetAddress.getLocalHost
    1. java.net.InetAddress.getLocalHost(InetAddress.java:1191)
    1 frame