java.net.UnknownHostException: bananas: bananas

safaribooksonline.com | 8 months 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

    4. Planning a Hadoop Cluster - Hadoop Operations [Book]

    safaribooksonline.com | 8 months ago
    java.net.UnknownHostException: bananas: bananas
  2. 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
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    JBOSS Unknowhost exception

    Stack Overflow | 3 years ago | Mohan
    java.net.UnknownHostException: myserver2: myserver2
  5. 0

    getting exception while sending mail using java

    Stack Overflow | 4 years ago | abhi
    java.net.UnknownHostException: Tomcat2: Tomcat2

  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

    bananas: bananas

    at java.net.InetAddress.getLocalHost()
  2. Java RT
    InetAddress.getLocalHost
    1. java.net.InetAddress.getLocalHost(InetAddress.java:1354)
    1 frame
  3. Unknown
    dns.main
    1. dns.main(dns.java:7)
    1 frame