# Logstash Cannot Listen Port 5044 after fresh install

**URL:** <https://discuss.elastic.co/t/logstash-cannot-listen-port-5044-after-fresh-install/291191>\
**Category:** Logstash\
**Created:** [December 8, 2021, 8:16am UTC](https://discuss.elastic.co/t/logstash-cannot-listen-port-5044-after-fresh-install/291191 "2021-12-08T08:16:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bropid](https://avatars.discourse-cdn.com/v4/letter/b/f04885/32.png) [@bropid](https://discuss.elastic.co/u/bropid)\
**Post date:** [December 8, 2021, 8:16am UTC](https://discuss.elastic.co/t/logstash-cannot-listen-port-5044-after-fresh-install/291191/1 "2021-12-08T08:16:31Z")

</div>

Hi, i'am freshly installed logstash but when i'm try to test connect with  
`telnet <logstash ip> 5044`  
it says connection refused.

Then when i check my network in logstash machine with  
`netstat -plntu | grep 5044`  
it didn't show anything, and it means that logstash not listening in port 5044.

My firewall also off during this test.

Can you explain what happened here?  
btw i used version 7.16.0 in ubuntu 18.04 machine.

---

<div class="post-metadata">

**Author:** ![Rios](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rios/32/95745_2.png) [@Rios](https://discuss.elastic.co/u/Rios)\
**Post date:** [December 8, 2021, 11:07am UTC](https://discuss.elastic.co/t/logstash-cannot-listen-port-5044-after-fresh-install/291191/2 "2021-12-08T11:07:28Z")

</div>

Start Logstash in debug mode, check is there a part in logstash-plain.log:  
_[[main]-pipeline-manager] beats - Beats inputs: Starting input listener {:address=\>"0.0.0.0:5044"}_  
_[[main]-pipeline-manager] javapipeline - Pipeline started {"pipeline.id"=\>"main"}_  
_[Agent thread] agent - Pipelines running {:count=\>1, :running\_pipelines=\>[:main], :non\_running\_pipelines=\>[]}_  
_[[main]\<beats] Server - **Starting server on port: 5045** _

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [December 8, 2021, 12:33pm UTC](https://discuss.elastic.co/t/logstash-cannot-listen-port-5044-after-fresh-install/291191/3 "2021-12-08T12:33:23Z")

</div>

Please share your pipeline configuration and any logs that you have from logstash.

---

<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:** [January 5, 2022, 12:33pm UTC](https://discuss.elastic.co/t/logstash-cannot-listen-port-5044-after-fresh-install/291191/4 "2022-01-05T12:33:52Z")

</div>

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