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

    Check if your firewall is not blocking your connection. If it's not, you might need to explicitly set advertised.host.name to advertised.host.name = yourIpAddress, this forces the hosts returned to be the resolvable IP address of your VM.

Solutions on the web

via Oracle Community by 840714, 1 year ago
via Oracle Community by 843790, 2 years ago
Unable to establish loopback connection
via Oracle Community by 843798, 1 year ago
Unable to establish loopback connection
via java-forum.org by Unknown author, 2 years ago
via igniterealtime.org by Unknown author, 2 years ago
via Oracle Community by Pritam-Oracle, 1 year ago
Unable to establish loopback connection
java.net.ConnectException: Connection refused: connect	at sun.nio.ch.Net.connect(Native Method)	at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:500)	at java.nio.channels.SocketChannel.open(SocketChannel.java:146)	at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:78)	at java.security.AccessController.doPrivileged(Native Method)	at sun.nio.ch.PipeImpl.(PipeImpl.java:122)	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:104)	at sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:26)	at java.nio.channels.Selector.open(Selector.java:209)	at com.sun.grizzly.util.Utils.openSelector(Utils.java:100)	at com.sun.grizzly.TCPSelectorHandler.initSelector(TCPSelectorHandler.java:399)	at com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:379)	at com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:183)	at com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:130)	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)	at java.lang.Thread.run(Thread.java:662)