I am trying to connect to the elastic running on a linux box from my local windows azure machine using below in java
Preformatted text
TransportClient transportClient = (new PreBuiltTransportClient(Settings.EMPTY, new Class[0])).addTransportAddress(new TransportAddress(InetAddress.getByName(configFileReader.getElasticSearchHost()), configFileReader.getElasticSearchPort()));
I am getting an exception as below
error while posting test case info to elastic search: java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
which is basically - java.net.UnknownHostException
elastic launches over the UI for me though , and its runign properly
please suggest what I am doing wrong ?