I finally figured out that I need to use port 9300 not 9200 :) On Fri, Dec 5, 2014 at 10:19 PM, David Pilato <[email protected]> wrote:
> Sounds like you are using Java? > What does your code look like? > > David > > Le 6 déc. 2014 à 02:27, Mohit Anchlia <[email protected]> a écrit : > > I am getting this exception, I am using 1.4.1 and have the same maven > version as well. > > Exception in thread "main" > org.elasticsearch.client.transport.NoNodeAvailableException: None of the > configured nodes are available: [] > at > org.elasticsearch.client.transport.TransportClientNodesService.ensureNodesAreAvailable(TransportClientNodesService.java:278) > at > org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:197) > at > org.elasticsearch.client.transport.support.InternalTransportClient.execute(InternalTransportClient.java:106) > at > org.elasticsearch.client.support.AbstractClient.index(AbstractClient.java:98) > at > org.elasticsearch.client.transport.TransportClient.index(TransportClient.java:334) > at > org.elasticsearch.action.index.IndexRequestBuilder.doExecute(IndexRequestBuilder.java:313) > at > org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:91) > at > org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:65) > > I am trying to connect to 10.241.251.176 > > [ec2-user@ip-10-241-251-176 ~]$ curl 'localhost:9200/_cat/nodes' > ip-10-241-251-174 10.241.251.174 9 1 0.00 d * Jonathan "John" Garrett > ip-10-241-251-175 10.241.251.175 7 1 0.00 d m Sunpyre > ip-10-241-251-176 10.241.251.176 7 1 0.13 d m Hecate > > -- > 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/CAOT3TWpWCmOQzeQik3DYChOFvwvXr2Ue9RYKRRuu9UD7q1ptdg%40mail.gmail.com > <https://groups.google.com/d/msgid/elasticsearch/CAOT3TWpWCmOQzeQik3DYChOFvwvXr2Ue9RYKRRuu9UD7q1ptdg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > 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/8BA24C9F-1E73-4B3F-A69E-6E86B3768BA1%40pilato.fr > <https://groups.google.com/d/msgid/elasticsearch/8BA24C9F-1E73-4B3F-A69E-6E86B3768BA1%40pilato.fr?utm_medium=email&utm_source=footer> > . > 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/CAOT3TWpExqWV353He9KZUAjw3s6K--Yr53pkDqCtKM9KeSsnOg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
