Fleet server issue in cluster

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

Perhaps look at this