一、本地啓動ES,head插件無法連接
1.下載ElasticSearch 壓縮包 然後解壓縮 ,conf文件夾下elasticsearch.yml中最後加入
http.cors.enabled: true
http.cors.allow-origin: "*"
2.雙擊bin文件夾下elasticsearch.bat文件啓動ES
3.重新打開head插件 index.html 連上了
一、本地啓動ES,head插件無法連接
1.下載ElasticSearch 壓縮包 然後解壓縮 ,conf文件夾下elasticsearch.yml中最後加入
http.cors.enabled: true
http.cors.allow-origin: "*"
2.雙擊bin文件夾下elasticsearch.bat文件啓動ES
3.重新打開head插件 index.html 連上了