Elastic Agent not reaching Elastic Cloud from Windows server

I deployed the Elastic Agent using the command generated in Elastic Cloud and while I can see the Agent with Status Healthy in Fleet no data is received.

I got the logs from the agent and I saw this:

{"log.level":"error","@timestamp":"2024-06-10T06:32:26.581Z","message":"Failed to connect to backoff(elasticsearch(https://daf2347f9fc84c819cd11f4a3c7944d1.us-east-1.aws.found.io:443)): Get \"https://daf2347f9fc84c819cd11f4a3c7944d1.us-east-1.aws.found.io:443\"}

{"log.level":"info","@timestamp":"2024-06-10T06:32:26.581Z","message":"Attempting to reconnect to backoff(elasticsearch(https://daf2347f9fc84c819cd11f4a3c7944d1.us-east-1.aws.found.io:443)) with 10434 reconnect attempt(s)"}

So the agent can't reach the deployment, but as far as I can see there is no firewall blocking the connection.

Also curl is not able to reach the deployment neither:

I'm a bit lost as to why this is happening, I tested the same settings on a Windows laptop and it works well.

Any insight would be appreciated!
Thank you.