After upgrading Azul Zulu JRE to the latest version, ES client uses up all ephemeral ports, other applications are not able to get ports to make outbound connections.
OLD JRE Version : 1.8_0_282
NEW JRE Version : 1.8_0_402
If it changed with JVM upgrade it sounds like it could be a JVM issue?
Note that you are using a very old version of Elasticsearch that has been EOL a very long time. It, and related clients, are no longer maintained so my advice would be to upgrade to the latest version. That would require you to also change the client, which I suspect would resolve the issue. I also do not think the JVM you are using was officially supported, so switching to a supported JVM might also be an option.
I think Elasticsearch 6.5.4 was released around the same time TLSv3 was introduced so it has probably never been tested with it, especially as I think you are using an unsupported JVM. As stated above I would recommend you upgrade to the latest version.
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.