java.net.UnknownHostException: kuti-zsolt: hostname nor

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert 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

Solutions on the web

via Google Groups by Unknown author, 10 months ago
via Stack Overflow by sachin
, 2 years ago
EC-C02NL85VG3QD: nodename nor servname provided, or not known
via GitHub by scottdraves
, 2 years ago
MacBook-Pro.local: nodename nor servname provided, or not known
via GitHub by lokeshhctm
, 2 years ago
lokeshs-mbp: lokeshs-mbp: nodename nor servname provided, or not known
via GitHub by batasrki
, 2 years ago
--1.9: nodename nor servname provided, or not known
via GitHub by gesellix
, 1 year ago
unix--var-run-docker.sock: nodename nor servname provided, or not known
java.net.UnknownHostException: kuti-zsolt: hostname nor
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:901)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1293)
at java.net.InetAddress.getLocalHost(InetAddress.java:1469)
at net.jini.discovery.LookupDiscovery.getLocalHost(LookupDiscovery.java:2396)
at net.jini.discovery.LookupDiscovery.init(LookupDiscovery.java:3174)
at net.jini.discovery.LookupDiscovery.beginDiscovery(LookupDiscovery.java:3086)
at net.jini.discovery.LookupDiscovery.(LookupDiscovery.java:1946)
at net.jini.discovery.LookupDiscoveryManager.beginDiscovery(LookupDiscoveryManager.java:1549)
at net.jini.discovery.LookupDiscoveryManager.(LookupDiscoveryManager.java:966)
at org.rioproject.impl.client.DiscoveryManagementPool$SharedDiscoveryManager.(DiscoveryManagementPool.java:531)
at org.rioproject.impl.client.DiscoveryManagementPool$DiscoveryControl.createSharedDiscoveryManager(DiscoveryManagementPool.java:424)
at org.rioproject.impl.client.DiscoveryManagementPool$DiscoveryControl.createLookupDiscoveryManager(DiscoveryManagementPool.java:342)
at org.rioproject.impl.client.DiscoveryManagementPool.getDiscoveryManager(DiscoveryManagementPool.java:214)
at org.rioproject.tools.cli.ServiceFinder.(ServiceFinder.java:98)
at org.rioproject.tools.cli.CLI.doInit(CLI.java:1518)
at org.rioproject.tools.cli.CLI.initCLI(CLI.java:1434)
at org.rioproject.tools.cli.CLI.main(CLI.java:1584)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
5 times, 3 months ago
2 times, 5 months ago
76 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.