# Logstash (1.5.3) is not able to connect to kafka

**URL:** <https://discuss.elastic.co/t/logstash-1-5-3-is-not-able-to-connect-to-kafka/27611>\
**Category:** Logstash\
**Created:** [August 18, 2015, 6:33pm UTC](https://discuss.elastic.co/t/logstash-1-5-3-is-not-able-to-connect-to-kafka/27611 "2015-08-18T18:33:09Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Deb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/deb/32/46162_2.png) [@Deb](https://discuss.elastic.co/u/Deb)\
**Post date:** [August 19, 2015, 4:12pm UTC](https://discuss.elastic.co/t/logstash-1-5-3-is-not-able-to-connect-to-kafka/27611/5 "2015-08-19T16:12:12Z")

</div>

Setting `advertised.host.name=kafka` in `server.properties` file solved the issue.

---

_[View the full topic](https://discuss.elastic.co/t/logstash-1-5-3-is-not-able-to-connect-to-kafka/27611)._
