When I tried to enrol elastic-agent, it was successfully enrolled but after a few time, it give me this error I tried to resolve this but was not able to resolve this error. if anyone has a solution to this please help me.
here is the error
[elastic_agent][error] Could not communicate with fleet-server Checking API will retry, error: fail to checkin to fleet-server: Post "https://ip:8220/api/fleet/agents/91015920-1eb5-41f2-b358-5c4d34813f4c/checkin?": read tcp ip:55454-> ip:8220: read: connection timed out