# Docker kibana http://localhost:5601/ ERR\_EMPTY\_RESPONSE

**URL:** <https://discuss.elastic.co/t/docker-kibana-http-localhost-5601-err-empty-response/69890>\
**Category:** Kibana\
**Created:** [December 23, 2016, 9:18am UTC](https://discuss.elastic.co/t/docker-kibana-http-localhost-5601-err-empty-response/69890 "2016-12-23T09:18:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![whybangbang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/whybangbang/32/7116_2.png) [@whybangbang](https://discuss.elastic.co/u/whybangbang)\
**Post date:** [December 23, 2016, 9:18am UTC](https://discuss.elastic.co/t/docker-kibana-http-localhost-5601-err-empty-response/69890/1 "2016-12-23T09:18:39Z")

</div>

my local kibana is well by my config , but when i config in docker , not work.

my steps:  
(1) docker pull kibana:5.1.1  
(2) docker run -d kibana:5.1.1, exec int to container  
(3) sudo to user kibana  
(4) chown -R kibana:kibana /usr/share/kibana/optimize/  
(5) /usr/share/kibana/bin/kibana-plugin install x-pack  
(6) exit, docker commit this container to B image  
(7) copy a config file to PWD, and edict it, append "xpack.security.enabled: false  
xpack.graph.enabled: false" and rewrite elasticsearch.url  
(7) docker run --name xpack-kibana -p 5601:5601 -d -v "$PWD/kibana.yml":/etc/kibana/kibana.yml kibana\_x-pack:5.1.1

then,,,,,  
log is very well

{"type":"log","@timestamp":"2016-12-23T08:59:31Z","tags":["status","plugin:kibana@5.1.1","info"],"pid":8,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}  
{"type":"log","@timestamp":"2016-12-23T08:59:31Z","tags":["status","plugin:elasticsearch@5.1.1","info"],"pid":8,"state":"yellow","message":"Status changed from uninitialized to yellow - Waiting for Elasticsearch","prevState":"uninitialized","prevMsg":"uninitialized"}  
{"type":"log","@timestamp":"2016-12-23T08:59:31Z","tags":["status","plugin:xpack\_main@5.1.1","info"],"pid":8,"state":"yellow","message":"Status changed from uninitialized to yellow - Waiting for Elasticsearch","prevState":"uninitialized","prevMsg":"uninitialized"}  
{"type":"log","@timestamp":"2016-12-23T08:59:31Z","tags":["status","plugin:elasticsearch@5.1.1","info"],"pid":8,"state":"green","message":"Status changed from yellow to green - Kibana index ready","prevState":"yellow","prevMsg":"Waiting for Elasticsearch"}  
{"type":"log","@timestamp":"2016-12-23T08:59:31Z","tags":["license","info","xpack"],"pid":8,"message":"Imported license information from Elasticsearch: mode: trial | status: active | expiry date: 2017-01-19T10:08:50+00:00"}  
{"type":"log","@timestamp":"2016-12-23T08:59:31Z","tags":["status","plugin:monitoring@5.1.1","info"],"pid":8,"state":"yellow","message":"Status changed from uninitialized to yellow - Waiting for Monitoring Health Check","prevState":"uninitialized","prevMsg":"uninitialized"}  
{"type":"log","@timestamp":"2016-12-23T08:59:31Z","tags":["status","plugin:xpack\_main@5.1.1","info"],"pid":8,"state":"green","message":"Status changed from yellow to green - Ready","prevState":"yellow","prevMsg":"Waiting for Elasticsearch"}  
{"type":"log","@timestamp":"2016-12-23T08:59:31Z","tags":["reporting","warning"],"pid":8,"message":"Generating a random key for xpack.reporting.encryptionKey. To prevent pending reports from failing on restart, please set xpack.reporting.encryptionKey in kibana.yml"}  
{"type":"log","@timestamp":"2016-12-23T08:59:31Z","tags":["status","plugin:reporting@5.1.1","info"],"pid":8,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}  
{"type":"log","@timestamp":"2016-12-23T08:59:31Z","tags":["status","plugin:profiler@5.1.1","info"],"pid":8,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}  
{"type":"log","@timestamp":"2016-12-23T08:59:33Z","tags":["status","plugin:monitoring@5.1.1","info"],"pid":8,"state":"green","message":"Status changed from yellow to green - Ready","prevState":"yellow","prevMsg":"Waiting for Monitoring Health Check"}  
{"type":"log","@timestamp":"2016-12-23T08:59:33Z","tags":["status","plugin:console@5.1.1","info"],"pid":8,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}  
{"type":"log","@timestamp":"2016-12-23T08:59:33Z","tags":["status","plugin:timelion@5.1.1","info"],"pid":8,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}  
{"type":"log","@timestamp":"2016-12-23T08:59:33Z","tags":["listening","info"],"pid":8,"message":"Server running at [http://localhost:5601](http://localhost:5601)"}  
{"type":"log","@timestamp":"2016-12-23T08:59:33Z","tags":["status","ui settings","info"],"pid":8,"state":"green","message":"Status changed from uninitialized to green - Ready","prevState":"uninitialized","prevMsg":"uninitialized"}

but [http://localhost:5601/](http://localhost:5601/) ERR\_EMPTY\_RESPONSE

---

<div class="post-metadata">

**Author:** ![ppisljar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppisljar/32/11588_2.png) [@ppisljar](https://discuss.elastic.co/u/ppisljar)\
**Post date:** [December 23, 2016, 10:55am UTC](https://discuss.elastic.co/t/docker-kibana-http-localhost-5601-err-empty-response/69890/2 "2016-12-23T10:55:02Z")

</div>

inside your docker image can you `netstat -natp` to see if kibana is listening on the port correctly ?

---

<div class="post-metadata">

**Author:** ![whybangbang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/whybangbang/32/7116_2.png) [@whybangbang](https://discuss.elastic.co/u/whybangbang)\
**Post date:** [December 26, 2016, 3:33am UTC](https://discuss.elastic.co/t/docker-kibana-http-localhost-5601-err-empty-response/69890/3 "2016-12-26T03:33:41Z")

</div>

thank your for reply, i have solved it. i forgot config server.host: "0.0.0.0",now is very well ,thank you very much

---

<div class="post-metadata">

**Author:** ![whybangbang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/whybangbang/32/7116_2.png) [@whybangbang](https://discuss.elastic.co/u/whybangbang)\
**Post date:** [December 26, 2016, 3:38am UTC](https://discuss.elastic.co/t/docker-kibana-http-localhost-5601-err-empty-response/69890/4 "2016-12-26T03:38:16Z")

</div>

elastic 2.x add this set, but i don't know kibana must set the same config, maybe doc should show this

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 23, 2017, 3:39am UTC](https://discuss.elastic.co/t/docker-kibana-http-localhost-5601-err-empty-response/69890/5 "2017-01-23T03:39:08Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
