假設Elasticsearch運行在192.168.0.2修改config目錄下的elasticsearch.ymlelasticsearch
改動以下內容spa
network.bind_host: 192.168.0.2ast
network.publish_host: 192.168.0.2network
network.host: 192.168.0.2bind