# Connection refused error while connecting to AWS from logstash

**URL:** <https://discuss.elastic.co/t/connection-refused-error-while-connecting-to-aws-from-logstash/39363>\
**Category:** Logstash\
**Created:** [January 15, 2016, 10:51pm UTC](https://discuss.elastic.co/t/connection-refused-error-while-connecting-to-aws-from-logstash/39363 "2016-01-15T22:51:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![subbu.nv](https://avatars.discourse-cdn.com/v4/letter/s/439d5e/32.png) [@subbu.nv](https://discuss.elastic.co/u/subbu.nv)\
**Post date:** [January 15, 2016, 10:51pm UTC](https://discuss.elastic.co/t/connection-refused-error-while-connecting-to-aws-from-logstash/39363/1 "2016-01-15T22:51:45Z")

</div>

Hi All,

I am connecting to AWS logs from the logstash in unix machine , it gives the below error.

Connection refused {:class=\>"Manticore::SocketException", :level=\>:error}

but when i tried from my windows machine, it is working fine.

can you please help?

thanks

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 16, 2016, 12:01am UTC](https://discuss.elastic.co/t/connection-refused-error-while-connecting-to-aws-from-logstash/39363/2 "2016-01-16T00:01:07Z")

</div>

Can we see the config as well as the complete error?

---

<div class="post-metadata">

**Author:** ![subbu.nv](https://avatars.discourse-cdn.com/v4/letter/s/439d5e/32.png) [@subbu.nv](https://discuss.elastic.co/u/subbu.nv)\
**Post date:** [January 16, 2016, 12:56am UTC](https://discuss.elastic.co/t/connection-refused-error-while-connecting-to-aws-from-logstash/39363/3 "2016-01-16T00:56:38Z")

</div>

thanks for your reply, i just got to know from the internal team that certain ports have to be opened to access AWS from that unix machine. i will try that out and get back to you if there any more questions.

---

<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:** [July 6, 2017, 5:15am UTC](https://discuss.elastic.co/t/connection-refused-error-while-connecting-to-aws-from-logstash/39363/4 "2017-07-06T05:15:33Z")

</div>

Closed on July 6, 2017, 5:15am UTC


