How to bind Elasticsearch 2.0 on both Loopback and Non-Loopback interfaces?

后端 未结 3 612
忘了有多久
忘了有多久 2020-12-05 15:13

Starting from version 2.0 Elasticsearch binds only on the loopback interface by default (_local_ in terms of configuration).

The documentation says

3条回答
  •  悲哀的现实
    2020-12-05 15:45

    Go to

    '/elasticsearch-2.3.4/config'
    

    Open elasticsearch.yml

    Add network.host: 0.0.0.0

    Now check which port elasticsearch is using (9200 is default), go to firewall inbound rules and add those ports.

提交回复
热议问题