I am facing an issue with while trying to insert/ read from Elasticsearch 7.2 on single node with Spring boot Java transport client referring to the link https://dzone.com/articles/spring-boot-elasticsearch
"exception": "org.elasticsearch.client.transport.NoNodeAvailableException",
"message": "None of the configured nodes are available: [{#transport#-1}{kIFpk2WkSlCzeW2SYAs9Zg}
Settings settings = Settings.builder().put("cluster.name", "docker-cluster").build();
client = new PreBuiltTransportClient(settings).
addTransportAddress(new InetSocketTransportAddress(InetAddress.getByName(host), port));