java.net.UnknownHostException

code-manage.novalocal: code-manage.novalocal: unknown error

Samebug tips1

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

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web368

  • via Stack Overflow by xigua
    , 11 months ago
    code-manage.novalocal: code-manage.novalocal: unknown error
  • via Stack Overflow by A.D
    , 1 year ago
    88.255.242.252:80</p> <pre><code>at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
  • ubilinux: unknown error
  • Stack trace

    • java.net.UnknownHostException: code-manage.novalocal: code-manage.novalocal: unknown error at java.net.InetAddress.getLocalHost(InetAddress.java:1505)[na:1.8.0_91]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 10 months ago
    5 times, 10 hours ago
    2 times, 1 month ago
    2 times, 7 months ago
    Unknown user
    Once, 10 months ago
    10 more bugmates