I have configured elasticsearch with ports 9200 and 9300. Everything works
fine, as expected, but one configuration I haven`t founded:
elasticsearch 0.90.10
3 indexes, each with 5 nodes without replicas
Then I do 'lsof -i' , I get a huge list with open ports (ESTABLISHED) from
39619 - to 39634, and on another server running for experiments it makes
ESTABLISHED connections from these ports : 43010 - 43025.
Is it available to say in configuration, that it would use ports from 9301
to 9400? O maybe how I could know which ports it would take always ?
9200 and 9300 are the bindings for inbound traffic.
Linux uses the higher ports for outgoing connections (eg from the node to
other cluster members on 9200/9300).
I have configured elasticsearch with ports 9200 and 9300. Everything works
fine, as expected, but one configuration I haven`t founded:
elasticsearch 0.90.10
3 indexes, each with 5 nodes without replicas
Then I do 'lsof -i' , I get a huge list with open ports (ESTABLISHED) from
39619 - to 39634, and on another server running for experiments it makes
ESTABLISHED connections from these ports : 43010 - 43025.
Is it available to say in configuration, that it would use ports from 9301
to 9400? O maybe how I could know which ports it would take always ?
Is it available somehow to control in elasticsearch configuration these
port range 39619 - XXXXX ?
2014 m. sausio 21 d., antradienis 09:29:36 UTC+2, Justas Balcas rašė:
Hello All,
I have configured elasticsearch with ports 9200 and 9300. Everything works
fine, as expected, but one configuration I haven`t founded:
elasticsearch 0.90.10
3 indexes, each with 5 nodes without replicas
Then I do 'lsof -i' , I get a huge list with open ports (ESTABLISHED) from
39619 - to 39634, and on another server running for experiments it makes
ESTABLISHED connections from these ports : 43010 - 43025.
Is it available to say in configuration, that it would use ports from 9301
to 9400? O maybe how I could know which ports it would take always ?
No, linux uses a random port for outgoing connections.
I'm not sure what the range is or how it's allocated, but my guess would be
it uses ports from 32768-65535.
Is it available somehow to control in elasticsearch configuration these
port range 39619 - XXXXX ?
2014 m. sausio 21 d., antradienis 09:29:36 UTC+2, Justas Balcas rašė:
Hello All,
I have configured elasticsearch with ports 9200 and 9300. Everything
works fine, as expected, but one configuration I haven`t founded:
elasticsearch 0.90.10
3 indexes, each with 5 nodes without replicas
Then I do 'lsof -i' , I get a huge list with open ports (ESTABLISHED)
from 39619 - to 39634, and on another server running for experiments it
makes ESTABLISHED connections from these ports : 43010 - 43025.
Is it available to say in configuration, that it would use ports from
9301 to 9400? O maybe how I could know which ports it would take always ?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.