Unable to use Kibana

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:

  1. Unable to locate kibana logs
  2. 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.
  3. Everything is running locally on the Ubuntu guest VM
  4. Even when I change the network.host in elasticsearch.yml from 0.0.0.0 to 127.0.0.1 the problem persists.
  5. I use systemctl to start and stop elasticsearch and kibana services.

Hi arnav, I’m not able to reproduce with a fresh install. Does curl localhost:5601 from Ubuntu also time out? Are you trying to navigate to Kibana using a browser on your Ubuntu VM or on Windows machine? I can imagine some sort of network issue preventing your Windows browser from reaching Kibana, but otherwise, your configuration looks fine.