Protocol JNLP4-connect encountered an unexpected exception

Hi Experts Need help on this,

Jenkins setup:
Jenkins 2.462.1
Node server: Windows 10
Java used: JDK-17

Facing issue after starting ‘jenkins-agent.exe’
below are logs:

INFO: Remoting server accepts the following protocols: [JNLP4-connect, Ping]
Jul 15, 2025 10:39:43 AM hudson.remoting.Launcher$CuiListener status
INFO: Agent discovery successful
  Agent address: avci.mobis.com
  Agent port:    50000
  Identity:      7b:25:6a:36:db:19:76:ec:de:6b:d0:cc:8b:ec:ee:c6
Jul 15, 2025 10:39:43 AM hudson.remoting.Launcher$CuiListener status
INFO: Handshaking
Jul 15, 2025 10:39:43 AM hudson.remoting.Launcher$CuiListener status
INFO: Connecting to avci.mobis.com:50000
Jul 15, 2025 10:39:43 AM hudson.remoting.Launcher$CuiListener status
INFO: Server reports protocol JNLP4-connect-proxy not supported, skipping
Jul 15, 2025 10:39:43 AM hudson.remoting.Launcher$CuiListener status
INFO: Trying protocol: JNLP4-connect
Jul 15, 2025 10:39:43 AM org.jenkinsci.remoting.protocol.impl.BIONetworkLayer$Reader run
INFO: Waiting for ProtocolStack to start.
Jul 15, 2025 10:39:44 AM hudson.remoting.Launcher$CuiListener status
INFO: Protocol JNLP4-connect encountered an unexpected exception
java.util.concurrent.ExecutionException: org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException: Connection closed before acknowledgement sent
	at org.jenkinsci.remoting.util.SettableFuture.get(SettableFuture.java:223)
	at hudson.remoting.Engine.innerRun(Engine.java:890)
	at hudson.remoting.Engine.run(Engine.java:574)
Caused by: org.jenkinsci.remoting.protocol.impl.ConnectionRefusalException: Connection closed before acknowledgement sent
	at org.jenkinsci.remoting.protocol.impl.AckFilterLayer.onRecvClosed(AckFilterLayer.java:281)
	at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:825)
	at org.jenkinsci.remoting.protocol.NetworkLayer.onRecvClosed(NetworkLayer.java:155)
	at org.jenkinsci.remoting.protocol.impl.BIONetworkLayer.access$700(BIONetworkLayer.java:51)
	at org.jenkinsci.remoting.protocol.impl.BIONetworkLayer$Reader.run(BIONetworkLayer.java:257)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:140)
	at java.base/java.lang.Thread.run(Thread.java:842)
 
Jul 15, 2025 10:39:44 AM hudson.remoting.Launcher$CuiListener status
INFO: reconnect rejected, sleeping 10s: 
java.lang.Exception: The server rejected the connection: None of the protocols were accepted

I’m unable to understand what is causing the issue. is it from controller server not allowing connection? or issue from node server itself?

I even tried adding jenkins server certificates to Java cacerts.
If anyone faced this issue or know how to solve this, please comment bellow
Thanks