# Unable to Install Fleet Server - EOF

**URL:** https://discuss.elastic.co/t/unable-to-install-fleet-server-eof/319847
**Category:** Beats
**Tags:** fleet
**Created:** [November 25, 2022, 6:30pm UTC](https://discuss.elastic.co/t/unable-to-install-fleet-server-eof/319847 "2022-11-25T18:30:06Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)
#### Post date: [November 25, 2022, 7:27pm UTC](https://discuss.elastic.co/t/unable-to-install-fleet-server-eof/319847/3 "2022-11-25T19:27:36Z")

</div>

Hi @tmeuze Welcome to the community! ... Apologies you are having trouble.

What Version?

> [@tmeuze](#):
>
> ```auto
> sudo ./elastic-agent install --fleet-server-es=http://localhost:9200 \ <!----- should be https
> --fleet-server-service-token=<token> \
> --fleet-server-policy=fleet-server-policy \
> --fleet-server-es-ca-trusted-fingerprint=<sha256fingerprint>
> 
> ```

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

---

_[View the full topic](https://discuss.elastic.co/t/unable-to-install-fleet-server-eof/319847)._
