Hi @tmeuze Welcome to the community! ... Apologies you are having trouble.
What Version?
So you can not install fleet without security enabled, did you enable security by default?
If so then Elasticsearach should be running on https not http
I see
--fleet-server-es=http://localhost:9200
should be https
--fleet-server-es=https://localhost:9200
Also you will probably want to bind elasticsearch to the network so agents on other host and then you and ip address or host name in that settings otherwise no remote agent will be able to connect. If You did that (default installation) that should have already been set..
in elasticsearch.yml
http.host: 0.0.0.0
Try to use the defaults....
Get it working then adjust... I think all those defaults should have been setup if you did a default install of Elasticsearch and Kibana with security enabled