Getting continuous log etries from tcpSlaveAgentListener

Hello,

I have deleted some Agents from Jenkins 2.479.3 LTS as we were not using it. but when i saw logs, Jenkins still trying to connect those nodes via tcpSlaveAgentListener and i’m getting below logs continuously in Jenkins

12-Feb-2025 12:28:44.370 FINE [Handling GET /hudson/tcpSlaveAgentListener/ from 10.10.94.78 : http-nio-10.10.84.109-80-exec-14] jenkins.security.SecurityListener.fireAuthenticated2 authenticated: nodes
12-Feb-2025 12:28:44.373 INFO [TCP agent connection handler #61227 with /:64818] hudson.TcpSlaveAgentListener$ConnectionHandler.run Connection #61227 from /:64818 failed: null
12-Feb-2025 12:28:44.375 INFO [TCP agent connection handler #61228 with /<>:64819] hudson.TcpSlaveAgentListener$ConnectionHandler.run Accepted JNLP4-connect connection #61228 from /:64819
12-Feb-2025 12:28:44.378 INFO [IOHub#1: Worker[channel:java.nio.channels.SocketChannel[connected local=/:50000 remote=/:64819]] / Computer.threadPoolForRemoting [#9637]] org.jenkinsci.remoting.protocol.impl.ConnectionHeadersFilterLayer.onRecv [JNLP4-connect connection from /:64819] Refusing headers from remote: Unknown client name:

Is there any way we can stop this tcpSlaveAgentListener checks for Agets that are not there is Jenkins ?

Obviously that are inbound agents. Have you stopped the corresponding agent processes on those machines? If not they keep trying to connect to your Jenkins and that is probably causing the log entries.