Kibana not connecting to elasticservice in windows

hello team!
I'm building a elastic cluster and i'm having a trouble to bring kibana online, it looks like it cannot connect to the elasticsearch service, follow the logs

Kibana:

{"type":"log","@timestamp":"2020-04-09T13:43:13Z","tags":["error","elasticsearch","admin"],"pid":6280,"message":"Request error, retrying\nGET http://10.179.221.231:9200/.kibana_task_manager => connect ECONNREFUSED 10.179.221.231:9200"}
{"type":"log","@timestamp":"2020-04-09T13:43:13Z","tags":["error","elasticsearch","admin"],"pid":6280,"message":"Request error, retrying\nGET http://10.179.221.231:9200/.kibana => connect ECONNREFUSED 10.179.221.231:9200"}
{"type":"log","@timestamp":"2020-04-09T13:43:14Z","tags":["error","elasticsearch","admin"],"pid":6280,"message":"Request error, retrying\nGET http://10.179.221.231:9200/_nodes?filter_path=nodes.*.version%2Cnodes.*.http.publish_address%2Cnodes.*.ip => connect ECONNREFUSED 10.179.221.231:9200"}
{"type":"log","@timestamp":"2020-04-09T13:43:15Z","tags":["error","savedobjects-service"],"pid":6280,"message":"Unable to retrieve version information from Elasticsearch nodes."}
{"type":"log","@timestamp":"2020-04-09T13:43:18Z","tags":["error","elasticsearch","data"],"pid":6280,"message":"Request error, retrying\nGET http://10.179.221.231:9200/_xpack => connect ECONNREFUSED 10.179.221.231:9200"}

kibana.yml:

server.port: 5601
server.host: 10.179.221.231
server.name: AUSELKEMS02
elasticsearch.hosts: http://10.179.221.231:9200
elasticsearch.preserveHost: true
logging.dest: D:\ELK\Kibana\kibana-7.6.2-windows-x86_64\log\kibana.log
logging.quiet: true

since now, thanks for your attention!

Can you connect to http://10.179.221.231:9200 using curl command or browser?

yep, totally

{
  "name" : "AUSELKEMS02",
  "cluster_name" : "DCE_ELK_ENV",
  "cluster_uuid" : "cEyI7wSpQG6Duzd2quuw8A",
  "version" : {
    "number" : "7.6.2",
    "build_flavor" : "unknown",
    "build_type" : "unknown",
    "build_hash" : "ef48eb35cf30adf4db14086e8aabd07ef6fb113f",
    "build_date" : "2020-03-26T06:34:37.794943Z",
    "build_snapshot" : false,
    "lucene_version" : "8.4.0",
    "minimum_wire_compatibility_version" : "6.8.0",
    "minimum_index_compatibility_version" : "6.0.0-beta1"
  },
  "tagline" : "You Know, for Search"
}

So we know that Elasticsearch is up and running.

How about connecting to Elasticsearch service on the host which Kibana runs on?

they are on the same server, that's why I'm thinking that something is very wrong here

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