How to connect an existing EC2 instance as an agent of Jenkins controller running on AWS ECS

Jenkins setup:Jenkins 2.444 (Running on AWS ECS)
Just want to connect a Windows agent to the controller server. controller server is running on AWS ECS fargate linux server. i am trying to connect an existing EC2 instance as a agent node. I have configured a load balancer and it has been correctly configured.

I am getting the below error

WARNING: [JNLP4-connect connection to] Incorrect acknowledgement sequence, expected 0x000341434b got 0x485454502f
Mar 03, 2024 12:16:03 PM hudson.remoting.Launcher$CuiListener status
INFO: Protocol JNLP4-connect encountered an unexpected exception