Failed to create elasticsearch client

Hello everyone,
I pasted all the files in here:

I am running elasticsearch in a container and fscrawler throws:
19:06:59.272 [main] FATAL fr.pilato.elasticsearch.crawler.fs.cli.FsCrawlerCli - We can not start Elasticsearch Client. Exiting.
java.net.ConnectException: Connection refused

Thank you in advance for your help.