After upgrading Azul JRE to latest version, elasticsearch client uses up all ephemeral ports during bulk indexing of data. This results in other applications not getting ports to make outbound connections.
Older version : 1.8_0_282,
New version : 1.8_0_412
Elasticsearch version : 6.5.4
this seems like a strange issue, have anyone else faced this? Couldn’t find anything useful in JRE release notes
Immediate fix that I could find was to downgrade JRE version, but that is not a long-term solution.