I was searching for a plugin to parse excel files into elasticsearch and I found this one.
Running the application with the command written on github:
java -Xmx1g -jar excelastic-1.2.3.jar <filename> <index> <mapping> --clear
gives me the error:
SEVERE: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/127.0.1.1:9200
No configuration file is present, so I created one, added the default values and messed around to find a solution but I keep getting the same error. I 've noticed that the loopback is set to 127.0.1.1, is it possible to change it to 127.0.0.1? Can that be the problem?
UPDATE: I managed to solve it by changing my localhost address on /etc/hosts to 127.0.0.1. Now it works fine