Caused: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /192.168.99.102:4243

0 votes

Hi Guys,

I am trying to set one Cloud Node in Jenkins. But it gives me the below error.

java.net.ConnectException: Connection refused
Caused: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /192.168.99.102:4243
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:327)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:340)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:636)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:583)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:500)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:462)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:897)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)

How can I solve this error?

Jun 4 in Jenkins by akhtar
• 14,650 points
478 views

1 answer to this question.

0 votes

Hi@akhtar,

You may get this error if you didn't allow your jenkins node to connect with Docker server. Open your docker configuration file and make changes as shown below.

$ vi /usr.lib.systemd/system/docker.service

Add your host server IP with port number and restart docker service.

$ systemctl daemon-reload
$ systemctl restart docker
answered Jun 4 by MD
• 32,850 points

Related Questions In Jenkins

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

java.net.UnknownHostException: updates.jenkins.io

Hi@akhtar, You may get this error, if your ...READ MORE

answered May 28 in Jenkins by MD
• 32,850 points
277 views
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,420 points
540 views
0 votes
1 answer