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.

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: [email protected]
web: www.campaignmonitor.com


On 21 January 2014 20:18, Justas Balcas <[email protected]> wrote:

> Maybe I was misunderstood
>
> This is what I am getting :
>
> TCP XXX.XXX.XXX.XXX:39619->XXX.XXX.XXX.XXX:9300 (ESTABLISHED)
> TCP XXX.XXX.XXX.XXX:9300->XXX.XXX.XXX.XXX:39619 (ESTABLISHED)
> TCP XXX.XXX.XXX.XXX:39620->XXX.XXX.XXX.XXX:9300 (ESTABLISHED)
> TCP XXX.XXX.XXX.XXX:39621->XXX.XXX.XXX.XXX:9300 (ESTABLISHED)
> TCP XXX.XXX.XXX.XXX:9300->XXX.XXX.XXX.XXX:39620 (ESTABLISHED)
>
> 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 ?
>>
>> Thanks.
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "elasticsearch" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/6986d023-3b9e-4527-a5bf-473bcd719c1e%40googlegroups.com
> .
>
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAEM624biw%3DzQjGmzLCkUL9U-8jUNzrq695w4%2B-6Vr%2BduxGHnsQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to