Yes. You need to use unicast or aws plugin. -- David ;-) Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
Le 30 août 2014 à 12:39, Albert Lim <[email protected]> a écrit : Thank you, so I guess if I have my cluster running on, for example, ec2, my local web server will not be able to find the cluster through multicast. > On Saturday, August 30, 2014 12:59:21 AM UTC-7, David Pilato wrote: > It uses multicast to find other nodes running on your network. > > -- > David ;-) > Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs > >> Le 30 août 2014 à 09:29, Albert Lim <[email protected]> a écrit : >> >> Actually, is this only if you actually have elasticsearch running locally? >> >>> On Saturday, August 30, 2014 12:27:33 AM UTC-7, Albert Lim wrote: >>> I'm using the following code to connect to my cluster >>> >>> Node node = nodeBuilder().clusterName("yourclustername").node(); >>> Client client = node.client(); >>> >>> How does the nodeBuilder know the IP address of my cluster, just by the >>> cluster name? >> >> -- >> 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/1b6481ab-40ab-40fc-b23e-8052efb158ba%40googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. -- 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/a5cc1045-fb92-4da2-8ef1-79e97affe574%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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/016CABCD-1BF2-4D94-94BF-11D9C2198F77%40pilato.fr. For more options, visit https://groups.google.com/d/optout.
