# Not able to telnet IP with port 5044

**URL:** <https://discuss.elastic.co/t/not-able-to-telnet-ip-with-port-5044/205790>\
**Category:** Logstash\
**Created:** [October 30, 2019, 5:24am UTC](https://discuss.elastic.co/t/not-able-to-telnet-ip-with-port-5044/205790 "2019-10-30T05:24:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joseph\_John](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joseph_john/32/53907_2.png) [@Joseph\_John](https://discuss.elastic.co/u/Joseph_John)\
**Post date:** [October 30, 2019, 5:24am UTC](https://discuss.elastic.co/t/not-able-to-telnet-ip-with-port-5044/205790/1 "2019-10-30T05:24:26Z")

</div>

Hi All,  
Good morning.  
I have installed logtash 7.4.1-1 , my service starts, no error messages in the logs, but I am not able to telnet to the IP with port 5044  
when I did a " **netstat -anp | grep 5044**" it shows

> netstat -anp | grep 5044  
> tcp6 0 0 :::5044 :::\* LISTEN 31782/java

From the above, I think it is not binded to IP4, I am pasting my "/etc/logstash/logstash.yml" and "/etc/logstash/conf.d/logstash.conf" here

> **cat /etc/logstash/logstash.yml | grep host**  
> http.host: "192.168.3.191"

**cat /etc/logstash/conf.d/logstash.conf**

> input {  
> beats {  
> **port =\> 5044**  
> }  
> }
> 
> output {  
> elasticsearch {  
> hosts =\> ["[http://192.168.3.191:9200](http://192.168.3.191:9200)"]  
> index =\> "%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}"  
> }  
> }

I think, in "/etc/logstash/conf.d/logstash.conf" there may be something to be done, Advice requested on the what I need to do with the conf files.  
Thanks  
Joseph John

**Kibana version** :  
7.4.1   
**Elasticsearch version** :  
7.4.1  
**APM Server version** :  
7.4.1  
\*\*filebeat version \*\*  
7.4.1  
**APM Agent language and version** :  
NA  
**Logstash version**  
7.4.1-1

---

<div class="post-metadata">

**Author:** ![Joseph\_John](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joseph_john/32/53907_2.png) [@Joseph\_John](https://discuss.elastic.co/u/Joseph_John)\
**Post date:** [October 30, 2019, 6:14am UTC](https://discuss.elastic.co/t/not-able-to-telnet-ip-with-port-5044/205790/2 "2019-10-30T06:14:34Z")

</div>

Like to update, from my filebeat installed machines I get this message

> ERROR pipeline/output.go:100 Failed to connect to backoff(elasticsearch([http://192.168.3.191:5044](http://192.168.3.191:5044))): Get [http://192.168.3.191:5044](http://192.168.3.191:5044): read tcp 192.168.3.13:24163-\>192.168.3.191:5044: read: connection reset by peer

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [October 30, 2019, 6:15am UTC](https://discuss.elastic.co/t/not-able-to-telnet-ip-with-port-5044/205790/3 "2019-10-30T06:15:49Z")

</div>

It looks like you may have configured the Logstash URL under the elasticsearch section in your beats config. It would be easier to tell if you could share your config.

---

<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:** [November 27, 2019, 6:49am UTC](https://discuss.elastic.co/t/not-able-to-telnet-ip-with-port-5044/205790/5 "2019-11-27T06:49:10Z")

</div>

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