elasticsearch5.0中head连不上es,集群健康值: 未连接

(1)elasticsearch-5x下的 config/elasticsearch.yml

http.cors.enabled: true
http.cors.allow-origin: "*"

(2)elasticsearch-head下Gruntfile.js

connect: {
        server: {
            options: {
                hostname: '0.0.0.0',
                port: 9100,
                base: '.',
                keepalive: true
            }
        }
    }   

猜你喜欢

转载自blog.csdn.net/liuxiangyang_/article/details/89214539
今日推荐