# Firewall configuration for Azure Event Hubs plugin

**URL:** <https://discuss.elastic.co/t/firewall-configuration-for-azure-event-hubs-plugin/163789>\
**Category:** Logstash\
**Created:** [January 10, 2019, 4:57pm UTC](https://discuss.elastic.co/t/firewall-configuration-for-azure-event-hubs-plugin/163789 "2019-01-10T16:57:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fim](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fim/32/90645_2.png) [@fim](https://discuss.elastic.co/u/fim)\
**Post date:** [January 10, 2019, 4:57pm UTC](https://discuss.elastic.co/t/firewall-configuration-for-azure-event-hubs-plugin/163789/1 "2019-01-10T16:57:22Z")

</div>

We tried to retrieve data from an Azure EventHub. Locally it works perfect but in our test environment it didn't. We suppose that a firewall is blocking the traffic since we get a timeout without error message.

Can anybody tell me which endpoint is initializing the connection and on which port?  
Is it the Logstash plugin or the Azure EventHub plugin?

Many thanks!!

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [January 10, 2019, 5:12pm UTC](https://discuss.elastic.co/t/firewall-configuration-for-azure-event-hubs-plugin/163789/2 "2019-01-10T17:12:04Z")

</div>

Take a look at the [Microsoft docs](https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-amqp-protocol-guide) under "Connections and sessions".

I cannot imagine any way that it could not be logstash initiating the connection.

---

<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:** [February 7, 2019, 5:12pm UTC](https://discuss.elastic.co/t/firewall-configuration-for-azure-event-hubs-plugin/163789/3 "2019-02-07T17:12:05Z")

</div>

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