Getting " failed to connect to node [{#transport#-1}{nE-IOaK-SLWdBf7f80Yo2g}{localhost}{}], ignoring..."

I get this error when I try to connect to the ElasticSearch v7.2. Here is my setting in elastic.yml file eml eml
path.logs: d:/temp/logs/elastic
http.port: 9200

Here is my settings: = eml = localhost
elasticsearch.port = 9200
elasticsearch.clustername = eml

I use Spring Boot to connect. but also use HighLevelClient API

Here is my code to configure HighLevel Client.

public class ElasticHighLevelClientConfig {

private String host;

private int port;

private String userName;

private String password;

@Bean(name = "myEsClient", destroyMethod = "close")
public RestHighLevelClient myRestClient() {
	final CredentialsProvider credentialsProvider = new BasicCredentialsProvider();
	credentialsProvider.setCredentials(AuthScope.ANY, new UsernamePasswordCredentials(userName, password));
	RestClientBuilder builder = RestClient.builder(new HttpHost(host, port)).setHttpClientConfigCallback(
			httpClientBuilder -> httpClientBuilder.setDefaultCredentialsProvider(credentialsProvider));
	RestHighLevelClient client = new RestHighLevelClient(builder);
	return client;