Hi,

I am using a three node cluster with two ip address on each server. I want 
http and transport addresses to be separated to avoid network congestion.

*http.host:* 192.168.1.113 (binded on eth0)
*transport.host:* 192.168.10.116 (binded on eth1)

and similar for all other nodes.

The nodes are connecting to each other perfectly, and i can create index, 
and ad data to it by using curl command.

But when create connection through java program the i get a no node 
available exception.

I am using following code for creating connection.

Settings s = ImmutableSettings.settingsBuilder().put("cluster.name", 
"orkashcluster_es").build();
        TransportClient tmp = new TransportClient(s);
        tmp.addTransportAddress(new 
InetSocketTransportAddress("192.168.10.116", 9300)); // have also tried 
with 192.168.1.116
        client = tmp;


Please let me know what i am doing wrong.


Regards,
Bharvi Dixit

-- 
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/ef0970a3-a9b1-4cfd-9895-9dbe05262b13%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to