When I start Kibana, it prompts me
log [15:59:26.369] [error][data][Elasticsearch] [TimeoutError]: Request timed out
log [15:59:26.370] [error][data][Elasticsearch] [TimeoutError]: Request timed out
log [15:59:26.372] [warning][savedobjects-service] Unable to connect to Elasticsearch. Error: Request timed out
log [15:59:26.372] [warning][savedobjects-service] Unable to connect to Elasticsearch. Error: Request timed out
log [15:59:58.875] [error][data][Elasticsearch] [TimeoutError]: Request timed out
log [15:59:58.876] [error][data][Elasticsearch] [TimeoutError]: Request timed out
log [16:00:31.380] [error][data][Elasticsearch] [TimeoutError]: Request timed out
log [16:00:31.383] [error][data][Elasticsearch] [TimeoutError]: Request timed out
It tells me that it cannot connect to Elasticsearch, I guess it is because I am in the Elasticsearch.yml file:
Set the bind address to a specific IP (IPv4 or IPv6):
network.host: 0.0.0.0
Set a custom port for HTTP:
#http.port: 9200
I need to connect remotely, so I changed network.host to 0.0.0.0, but http://localhost:9200 is still accessible, why can’t I connect?