# How to fix this error

**URL:** https://discuss.elastic.co/t/how-to-fix-this-error/166386
**Category:** Logstash
**Created:** [January 30, 2019, 3:20pm UTC](https://discuss.elastic.co/t/how-to-fix-this-error/166386 "2019-01-30T15:20:33Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![AmritMatti](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amritmatti/32/137853_2.png) [@AmritMatti](https://discuss.elastic.co/u/AmritMatti)
#### Post date: [January 30, 2019, 3:20pm UTC](https://discuss.elastic.co/t/how-to-fix-this-error/166386/1 "2019-01-30T15:20:33Z")

</div>

2019-01-30T15:08:30.215Z ERROR pipeline/output.go:100 Failed to connect to backoff(async(tcp://104.43.129.213:5044)): dial tcp 104.43.129.213:5044: connect: connection refused  
2019-01-30T15:08:30.216Z INFO pipeline/output.go:93 Attempting to reconnect to backoff(async(tcp://104.43.129.213:5044)) with 1 reconnect attempt(s)  
2019-01-30T15:08:33.689Z ERROR pipeline/output.go:100 Failed to connect to backoff(async(tcp://104.43.129.213:5044)): dial tcp 104.43.129.213:5044: connect: connection refused  
2019-01-30T15:08:33.689Z INFO pipeline/output.go:93 Attempting to reconnect to backoff(async(tcp://104.43.129.213:5044)) with 2 reconnect attempt(s)  
2019-01-30T15:08:39.259Z ERROR pipeline/output.go:100 Failed to connect to backoff(async(tcp://104.43.129.213:5044)): dial tcp 104.43.129.213:5044: connect: connection refused  
2019-01-30T15:08:39.259Z INFO pipeline/output.go:93 Attempting to reconnect to backoff(async(tcp://104.43.129.213:5044)) with 3 reconnect attempt(s)

---

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [January 30, 2019, 3:33pm UTC](https://discuss.elastic.co/t/how-to-fix-this-error/166386/2 "2019-01-30T15:33:17Z")

</div>

> [@AmritMatti](#):
>
> 104.43.129.213:5044: connect: connection refused

Nothing is listening on that port on that address. Do you have logstash running a beat input? Is it running? If so, what does input configuration look like?

---

<div class="post-metadata">

### Author: ![AmritMatti](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amritmatti/32/137853_2.png) [@AmritMatti](https://discuss.elastic.co/u/AmritMatti)
#### Post date: [January 30, 2019, 4:50pm UTC](https://discuss.elastic.co/t/how-to-fix-this-error/166386/3 "2019-01-30T16:50:44Z")

</div>

in which file i have to check logstash running a beat input ?  
logstash is running i have checked.

---

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [January 30, 2019, 4:58pm UTC](https://discuss.elastic.co/t/how-to-fix-this-error/166386/4 "2019-01-30T16:58:29Z")

</div>

In your logstash configuration file.

---

<div class="post-metadata">

### Author: ![AmritMatti](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amritmatti/32/137853_2.png) [@AmritMatti](https://discuss.elastic.co/u/AmritMatti)
#### Post date: [January 30, 2019, 5:02pm UTC](https://discuss.elastic.co/t/how-to-fix-this-error/166386/5 "2019-01-30T17:02:28Z")

</div>

yes i have configured  
dew to network issues it's showing error  
now everything is fine  
[2019-01-30T16:55:46,033][INFO][org.logstash.beats.Server] Starting server on port: 5044  
[2019-01-30T16:55:46,739][INFO][logstash.agent] Successfully started Logstash API endpoint {:port=\>9600}  
[2019-01-30T16:55:55,619][INFO][logstash.pipeline] Pipeline has terminated {:pipeline\_id=\>"main", :thread=\>"#\<Thread:0x50fc6f0a run\>"}

Thanks for support @Badgar

---

<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 27, 2019, 5:02pm UTC](https://discuss.elastic.co/t/how-to-fix-this-error/166386/6 "2019-02-27T17:02:31Z")

</div>

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