You didn't show us how you installed the fleet server so we'd only be guessing.
You need to look at the logs...
And how you installed the fleet server
And the default elasticsearch output if the fleet settings you probably left it as the default and you need to put the actual IP address and or HTTPs into it
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.