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

Google Groups | Gavin Baumanis | 2 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

    Unknown host?

    Google Groups | 2 years ago | Gavin Baumanis
    java.net.UnknownHostException: iMac.local: iMac.local: nodename nor servname provided, or not known
  2. 0

    UnknownHostException while running test on Java 7 on Mac OS X

    GitHub | 3 years ago | eed3si9n
    java.net.UnknownHostException: foo-computer: foo-computer: nodename nor servname provided, or not known
  3. 0

    Compilation issue

    GitHub | 2 years ago | KevinColemanInc
    java.net.UnknownHostException: eagle1: eagle1: nodename nor servname provided, or not known
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
  6. 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

  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

    iMac.local: 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
  3. SBT
    JUnitXmlTestsListener.<init>
    1. sbt.JUnitXmlTestsListener.<init>(JUnitXmlTestsListener.scala:18)
    1 frame
  4. sbt.plugins
    JUnitXmlReportPlugin$$anonfun$projectSettings$1.apply
    1. sbt.plugins.JUnitXmlReportPlugin$$anonfun$projectSettings$1.apply(JUnitXmlReportPlugin.scala:27)
    2. sbt.plugins.JUnitXmlReportPlugin$$anonfun$projectSettings$1.apply(JUnitXmlReportPlugin.scala:27)
    2 frames
  5. Scala
    Function1$$anonfun$compose$1.apply
    1. scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
    1 frame
  6. SBT
    $tilde$greater$$anonfun$$u2219$1.apply
    1. sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:42)
    1 frame
  7. sbt Task system
    Transform$$anon$4.work
    1. sbt.std.Transform$$anon$4.work(System.scala:64)
    1 frame
  8. SBT
    CompletionService$$anon$2.call
    1. sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
    2. sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
    3. sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
    4. sbt.Execute.work(Execute.scala:244)
    5. sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
    6. sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
    7. sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160)
    8. sbt.CompletionService$$anon$2.call(CompletionService.scala:30)
    8 frames
  9. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:262)
    2. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    3. java.util.concurrent.FutureTask.run(FutureTask.java:262)
    4. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    6. java.lang.Thread.run(Thread.java:744)[error]
    6 frames