java.net.UnknownHostException: Macula: Macula: nodename nor servname provided, or not known

GitHub | wandell | 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
    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

    GitHub comment 155#245952115

    GitHub | 8 months ago | wandell
    java.net.UnknownHostException: Macula: Macula: nodename nor servname provided, or not known
  3. 0

    ieValidation error

    GitHub | 8 months ago | wandell
    java.net.UnknownHostException: Macula: Macula: nodename nor servname provided, or not known
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Kafka - shutting down (kafka.server.KafkaServer), problems with starting Kafka-Server-Start

    Stack Overflow | 2 years ago | Stefan P
    java.net.UnknownHostException: linux-pic4.site: linux-pic4.site: Name or service not known
  6. 0

    Mac OS X 10.9 Mavericks support?

    GitHub | 3 years ago | jonathancross
    java.net.UnknownHostException: $HOSTNAME: $HOSTNAME: nodename nor servname provided, or not known

  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

    Macula: nodename nor servname provided, or not known

    at java.net.Inet6AddressImpl.lookupAllHostAddr()
  2. Java RT
    InetAddress.getLocalHost
    1. java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
    2. java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:901)
    3. java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1293)
    4. java.net.InetAddress.getLocalHost(InetAddress.java:1469)
    4 frames