- 论坛徽章:
- 0
|
RT
之前一起部署成功了,现在需要部署在两台服务器上,总报Connection Failed,细节如下:
机器列表:
作用 | 外网ip | 内网ip | Kibana | 10.0.0.11 | 172.16.0.11 | elasticsearch | 无外网ip | 172.16.0.22 |
在kibana端curl 172.16.0.22:9200已经能出json的结果页面:
{
"status" : 200,
"name" : "ES1",
"cluster_name" : "ES-logs-monitor",
"version" : {
"number" : "1.4.2",
"build_hash" : "927caff6f05403e936c20bf4529f144f0c89fd8c",
"build_timestamp" : "2014-12-16T14:11:12Z",
"build_snapshot" : false,
"lucene_version" : "4.10.2"
},
"tagline" : "You Know, for Search"
}
kibana关键配置:
elasticsearch: "h无t视tp://172.16.0.22:9200",
elasticsearch关键配置:
cluster.name: ES-logs-monitor
node.name: "ES1"
path.data: /var/log/elasticsearch/data
path.logs: /var/log/elasticsearch/logs
http.cors.enabled: true
#http.cors.allow-origin: "h无t视tp://kba.test.com:9999"
#http.cors.allow-origin: "/.*/"
#http.cors.allow-origin: "h无t视tp://172.16.0.11:9999"
#http.cors.allow-origin: "h无t视tp://10.0.0.11:9999"
对外web域名为kba.test.com,端口为9999,最下面四种allow的配置方式都试过了,也都重启服务了,还是不行。。。。
大神召唤术!!!!! |
|