# \[SOLVED\] Parser-excel-elasticsearch - connection refused

**URL:** <https://discuss.elastic.co/t/solved-parser-excel-elasticsearch-connection-refused/116462>\
**Category:** Elasticsearch\
**Created:** [January 22, 2018, 9:58am UTC](https://discuss.elastic.co/t/solved-parser-excel-elasticsearch-connection-refused/116462 "2018-01-22T09:58:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![syiannop](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/syiannop/32/26920_2.png) [@syiannop](https://discuss.elastic.co/u/syiannop)\
**Post date:** [January 22, 2018, 9:58am UTC](https://discuss.elastic.co/t/solved-parser-excel-elasticsearch-connection-refused/116462/1 "2018-01-22T09:58:03Z")

</div>

I was searching for a plugin to parse excel files into elasticsearch and I found [this](https://github.com/codingchili/parser-excel-elasticsearch) 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:

> AM io.vertx.core.http.impl.HttpClientRequestImpl  
> 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 🙂

---

<div class="post-metadata">

**Author:** ![s1monw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/s1monw/32/3637_2.png) [@s1monw](https://discuss.elastic.co/u/s1monw)\
**Post date:** [January 26, 2018, 12:58pm UTC](https://discuss.elastic.co/t/solved-parser-excel-elasticsearch-connection-refused/116462/2 "2018-01-26T12:58:28Z")

</div>

thanks for bringing conclusion to this.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 23, 2018, 12:58pm UTC](https://discuss.elastic.co/t/solved-parser-excel-elasticsearch-connection-refused/116462/3 "2018-02-23T12:58:39Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
