ES (Elasticsearch) access:
http://localhost:9100/
keeps prompting: cluster health value: not connected
The reason is: because the ES is configured with encryption, it cannot be accessed with the previous access link, and user authentication is required when accessing.
Solution:
1.
Find the ES configuration file elasticsearch.yml to add
http.cors.allow-headers: Authorization,Content-Type
Can be added
The access link cannot be the previous
http://localhost:9100
Should be changed to:
http://localhost:9100/?auth_user=elastic&auth_password=123456
Seeing this should all understand.
Perfect solution!
Welcome to the guidance of the great god, you can leave a message to communicate!
======================
My original article, reprinted to indicate the discrepancy!
=================