I am trying to enroll agent onto my fleet server, the server is live but whenever I try to connect my agent it doesn't work.
I keep encountering the same error ,{"log.level":"warn","@timestamp":"2023-06-06T19:28:55.258+0100","log.logger":"tls","log.origin":{"file.name":"tlscommon/tls_config.go","file.line":104},"message":"SSL/TLS verifications disabled.","ecs.version":"1.6.0"} erver: dial tcp 10.0.2.15: connectex: No connection could be made because the target machine actively refused it. For help, please see our troubleshooting guide at Troubleshoot common problems | Fleet and Elastic Agent Guide [8.8] | Elastic Error: enroll command failed with exit code: 1
I have tried to run the same commands with --insecure and as a admin but it doesn't work, I am running both the fleet server (kali purple) and the agent(Windows) on VMs.