Enrollment agent

how to enrollment agent. i follow in Install Fleet-managed Elastic Agents | Fleet and Elastic Agent Guide [7.17] | Elastic

i got error Error: fail to enroll: fail to execute request to fleet-server: fail to read original error: read tcp