# Logstash is not listening on the port from .conf file

**URL:** <https://discuss.elastic.co/t/logstash-is-not-listening-on-the-port-from-conf-file/275023>\
**Category:** Logstash\
**Created:** [June 5, 2021, 10:38am UTC](https://discuss.elastic.co/t/logstash-is-not-listening-on-the-port-from-conf-file/275023 "2021-06-05T10:38:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![devashishsingh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/devashishsingh/32/89628_2.png) [@devashishsingh](https://discuss.elastic.co/u/devashishsingh)\
**Post date:** [June 5, 2021, 10:38am UTC](https://discuss.elastic.co/t/logstash-is-not-listening-on-the-port-from-conf-file/275023/1 "2021-06-05T10:38:17Z")

</div>

I am trying to get TCP 6514 for SSL enabled logs to Logstash. I created a simple .conf file with no filters and then restarted Logstash. Still the localhost doesn't seems to listen on 6514.

In addition to this, when I restarted the service it gave me failed followed by started, is it something to troubleshoot for connection issue?

systemd[1]: logstash.service still around after final SIGKILL. Entering failed mode.  
systemd[1]: Stopped logstash.  
systemd[1]: Unit logstash.service entered failed state.  
systemd[1]: logstash.service failed.  
systemd[1]: Started logstash.logstash.service stop-final-sigterm timed out. Killing.  
systemd[1]: logstash.service still around after final SIGKILL. Entering failed mode.  
systemd[1]: Stopped logstash.  
systemd[1]: Unit logstash.service entered failed state.  
systemd[1]: logstash.service failed.  
systemd[1]: Started logstash.  
 ![simple.conf](https://us1.discourse-cdn.com/elastic/original/3X/a/7/a722ac56c246c837fdd53415e4447715812606b6.jpeg)

---

<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:** [June 7, 2021, 4:15am UTC](https://discuss.elastic.co/t/logstash-is-not-listening-on-the-port-from-conf-file/275023/2 "2021-06-07T04:15:46Z")

</div>

Welcome to our community! 😃  
Please don't post pictures of text or code. They are difficult to read, impossible to search and replicate (if it's code), and some people may not be even able to see them 🙂

---

<div class="post-metadata">

**Author:** ![devashishsingh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/devashishsingh/32/89628_2.png) [@devashishsingh](https://discuss.elastic.co/u/devashishsingh)\
**Post date:** [June 8, 2021, 6:29am UTC](https://discuss.elastic.co/t/logstash-is-not-listening-on-the-port-from-conf-file/275023/3 "2021-06-08T06:29:50Z")

</div>

Thank you @warkolm So do you need to see something that I might not have provided in order to get the solution?

---

<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, 2021, 6:30am UTC](https://discuss.elastic.co/t/logstash-is-not-listening-on-the-port-from-conf-file/275023/4 "2021-07-06T06:30:14Z")

</div>

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