Error installing Fleet Server

I have the same problem.
Described here

{"log.level":"info","@timestamp":"2022-06-06T21:53:05.353+0300","log.origin":{"file.name":"cmd/enroll_cmd.go","file.line":783},"message":"Fleet Server - Error - dial tcp 172.18.0.2:9200: i/o timeout","ecs.version":"1.6.0"}

Any suggestions?