3
我想指定ElasticSearch用於HTTP通信的確切端口。我該怎麼做?在配置文件中,它表示默認監聽端口範圍。我怎樣才能限制這個端口範圍只有1個端口?ElasticSearch - 指定確切的端口(無端口範圍)
Elasticsearch, by default, binds itself to the 0.0.0.0 address, and listens
on port [9200-9300] for HTTP traffic and on port [9300-9400] for node-to-node
communication. (the range means that if the port is busy, it will automatically
try the next port).