When I go to 127.0.0.1:5601 (default kibana host and port) it says unable to connect.
Elasticsearch.yml configuration:
network.host: 0.0.0.0
http.port: 9200
opendistro_security.disabled: true
Kibana.yml configuration:
elasticsearch.url: http://127.0.0.1:9200
logging.dest: /var/log/kibana.log
(All the opendistro_security lines are deleted)
Result of curl to Elasticsearch
curl 127.0.0.1:9200
{
“name” : “BgGXNlH”,
“cluster_name” : “elasticsearch”,
“cluster_uuid” : “a81MEDf_ThS5unpaXC3m3A”,
“version” : {
“number” : “6.7.1”,
“build_flavor” : “oss”,
“build_type” : “deb”,
“build_hash” : “2f32220”,
“build_date” : “2019-04-02T15:59:27.961366Z”,
“build_snapshot” : false,
“lucene_version” : “7.7.0”,
“minimum_wire_compatibility_version” : “5.6.0”,
“minimum_index_compatibility_version” : “5.0.0”
},
“tagline” : “You Know, for Search”
}
Operating System: Ubuntu 16.04 LTS on virtualbox with host OS as Windows 10 Pro
Installation Mode: Debian
P.S:
- Unable to locate kibana logs
- I’ve followed all the steps mentioned here (https://opendistro.github.io/for-elasticsearch-docs/docs/security/disable/) to disable security in kibana and elasticsearch.
- Everything is running locally on the Ubuntu guest VM
- Even when I change the network.host in elasticsearch.yml from 0.0.0.0 to 127.0.0.1 the problem persists.
- I use systemctl to start and stop elasticsearch and kibana services.