# HTTP Input for Logstash

**URL:** <https://discuss.elastic.co/t/http-input-for-logstash/167078>\
**Category:** Logstash\
**Created:** [February 5, 2019, 8:55am UTC](https://discuss.elastic.co/t/http-input-for-logstash/167078 "2019-02-05T08:55:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rahul\_Pm](https://avatars.discourse-cdn.com/v4/letter/r/7ea924/32.png) [@Rahul\_Pm](https://discuss.elastic.co/u/Rahul_Pm)\
**Post date:** [February 5, 2019, 8:55am UTC](https://discuss.elastic.co/t/http-input-for-logstash/167078/1 "2019-02-05T08:55:22Z")

</div>

Hi.  
I'm trying to push data to Logstash via http. The same worked well when I pushed the data to Elasticsearch. To connect to Elasticsearch, I used this URL : http://:9200/indexname/typename and it worked fine.For Logstash I presume we dont have to specify the index name? And used the following URL : http://:5045  
It gives me a error in logstash saying Error : EADDRNOTAVAIL - BIND- Cant assign requested address.  
Also Logstash keeps checking for Locahost:9200 irrespective of specifying the right hostname in the yml.  
Is this normal?

Regards,  
Rahul PM

---

<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:** [March 5, 2019, 8:55am UTC](https://discuss.elastic.co/t/http-input-for-logstash/167078/2 "2019-03-05T08:55:31Z")

</div>

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