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, 2020 in Jenkins by akhtar
• 38,260 points
11,811 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, 2020 by MD
• 95,460 points

Related Questions In Jenkins

0 votes
1 answer
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, 2020 in Jenkins by MD
• 95,460 points
10,900 views
+15 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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,035 views
+2 votes
1 answer
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP