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

  1. ,
    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 Oracle Community by 843798, 1 year ago
Unable to establish loopback connection
via Oracle Community by 843790, 1 year ago
Unable to establish loopback connection
via java-forum.org by Unknown author, 2 years ago
via Oracle Community by Pritam-Oracle, 1 year ago
Unable to establish loopback connection
via igniterealtime.org by Unknown author, 2 years ago
via Google Groups by sri, 2 years ago
Unable to establish loopback connection
java.net.UnknownHostException: test1: test1	at java.net.InetAddress.getLocalHost(InetAddress.java:1191)	at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:72)	at java.security.AccessController.doPrivileged(Native Method)	at sun.nio.ch.PipeImpl.(PipeImpl.java:120)	at sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:27)	at java.nio.channels.Pipe.open(Pipe.java:133)	at sun.nio.ch.WindowsSelectorImpl.(WindowsSelectorImpl.java:101)	at sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:26)	at java.nio.channels.Selector.open(Selector.java:209)	at com.inquira.infra.trnsp.socket.SocketServer.run(SocketServer.java:156)	at java.lang.Thread.run(Thread.java:534)