摘要:
先设置X-pack vim /usr/local/elasticsearch/config/elasticsearch.yml# X-Pack http.cors.enabled: true http.cors.allow-origin: "*" http.cors.allow-headers: A 阅读全文
摘要:
修改 elasticsearch/config/elasticsearch.yml 取消以下配置注释: network.host: 0.0.0.0 #改为0.0.0.0对外开放,如对特定ip开放则改为指定ip http.port: 9200 #可更改端口不为9200 启动的话可能会报错 [1]: m 阅读全文