java.io.IOException: Unable to connect to remote host: Connection refused

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

Solutions on the web

via GitHub by AgentTroll
, 8 months ago
Unable to connect to remote host: Connection refused
via GitHub by Rocologo
, 1 year ago
Unable to connect to remote host: Connection refused
java.io.IOException: Unable to connect to remote host: Connection refused
at io.netty.channel.epoll.Native.finishConnect(Native Method)
at io.netty.channel.epoll.EpollSocketChannel$EpollSocketUnsafe.doFinishConnect(EpollSocketChannel.java:659)
at io.netty.channel.epoll.EpollSocketChannel$EpollSocketUnsafe.finishConnect(EpollSocketChannel.java:592)
at io.netty.channel.epoll.EpollSocketChannel$EpollSocketUnsafe.epollOutReady(EpollSocketChannel.java:621)
at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:322)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:264)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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