I am trying to connect with a Java application from localhost to my
elasticsearch cluster on a root server. My problem is that the java client
is not able to get a connection.
Ports 9200-9299 and 9300-9400 are opened on the root server(groupelite.de).
I configured my elasticsearch cluster to use unicast discovery and set its
inet ip address as "network.host".
This is how I instantiate my client:
I am trying to connect with a Java application from localhost to my
elasticsearch cluster on a root server. My problem is that the java client
is not able to get a connection.
Ports 9200-9299 and 9300-9400 are opened on the root server(groupelite.de
).
I configured my elasticsearch cluster to use unicast discovery and set its
inet ip address as "network.host".
This is how I instantiate my client:
There is no data on it right now and also only limited diskspace for es. I
am planning to tryout Shield and will secure it later on. But first of all
I want to be able to get a connection to it. :-/
Anyways thanks for your advice.
Am Sonntag, 1. Februar 2015 00:09:42 UTC+1 schrieb Mark Walkom:
DO NOT leave your cluster open to anyone on the internet, this is a REALLY
BAD idea!!
On 1 February 2015 at 06:26, Stefan Meiwald <st.me...@gmail.com
<javascript:>> wrote:
I am trying to connect with a Java application from localhost to my
elasticsearch cluster on a root server. My problem is that the java client
is not able to get a connection.
Ports 9200-9299 and 9300-9400 are opened on the root server(groupelite.de
).
I configured my elasticsearch cluster to use unicast discovery and set
its inet ip address as "network.host".
This is how I instantiate my client:
I have found out, that it works when I use a Transport Client. Does this
give any hint what is wrong with the Node Client Configuration? Both
clients are using the elasticsearch binary protocol and port 9300 right?
Am Samstag, 31. Januar 2015 20:26:25 UTC+1 schrieb Stefan Meiwald:
I am trying to connect with a Java application from localhost to my
elasticsearch cluster on a root server. My problem is that the java client
is not able to get a connection.
Ports 9200-9299 and 9300-9400 are opened on the root server(groupelite.de
).
I configured my elasticsearch cluster to use unicast discovery and set its
inet ip address as "network.host".
This is how I instantiate my client:
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.