(转)elasticsearch连接不到head插件解决方案
(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
-
}
-
}
-
}
(3)浏览器问题:chrom不能连,换ie试试
原文:https://blog.csdn.net/ymd8005/article/details/70676798
-------------------------------------------
学而不思则罔,思而不学则殆
你好,我是【咬轮猫】
-------------------------------------------

浙公网安备 33010602011771号