当前位置:   article > 正文

docker elasticsearch出现的问题_docker elasticsearch host

docker elasticsearch host

elasticsearch.yml

http.host: 0.0.0.0

# Uncomment the following lines for a production cluster deployment
transport.host: 0.0.0.0
#discovery.zen.minimum_master_nodes: 1
# 加入跨域配置
http.cors.enabled: true
http.cors.allow-origin: "*"
要这样配置

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Cpp五条/article/detail/457636
推荐阅读
相关标签
  

闽ICP备14008679号