# Need help in Ports used in Beat and elastic

**URL:** <https://discuss.elastic.co/t/need-help-in-ports-used-in-beat-and-elastic/148643>\
**Category:** Beats\
**Created:** [September 14, 2018, 3:08pm UTC](https://discuss.elastic.co/t/need-help-in-ports-used-in-beat-and-elastic/148643 "2018-09-14T15:08:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![varun1992](https://avatars.discourse-cdn.com/v4/letter/v/3da27b/32.png) [@varun1992](https://discuss.elastic.co/u/varun1992)\
**Post date:** [September 14, 2018, 3:08pm UTC](https://discuss.elastic.co/t/need-help-in-ports-used-in-beat-and-elastic/148643/1 "2018-09-14T15:08:36Z")

</div>

I want to send filebeat and packetbeat data from azureserver-1 to azureserver-2. So so what are the ports i need to open for that in inbound and outbound on both servers?

i am using default ports for beats in azureserver-1 and elasticsearch azureserver-2

---

<div class="post-metadata">

**Author:** ![willemdh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/willemdh/32/16922_2.png) [@willemdh](https://discuss.elastic.co/u/willemdh)\
**Post date:** [September 14, 2018, 3:24pm UTC](https://discuss.elastic.co/t/need-help-in-ports-used-in-beat-and-elastic/148643/2 "2018-09-14T15:24:06Z")

</div>

Varun,

It depends if you send to Logstash or Elasticsearch.. If you output to elasticsearch, you probably need to open 9200 outbound.

Grtz

Willem

---

<div class="post-metadata">

**Author:** ![varun1992](https://avatars.discourse-cdn.com/v4/letter/v/3da27b/32.png) [@varun1992](https://discuss.elastic.co/u/varun1992)\
**Post date:** [September 14, 2018, 7:25pm UTC](https://discuss.elastic.co/t/need-help-in-ports-used-in-beat-and-elastic/148643/3 "2018-09-14T19:25:14Z")

</div>

both in sending side and receiving side you mean ?

---

<div class="post-metadata">

**Author:** ![varun1992](https://avatars.discourse-cdn.com/v4/letter/v/3da27b/32.png) [@varun1992](https://discuss.elastic.co/u/varun1992)\
**Post date:** [September 20, 2018, 3:03pm UTC](https://discuss.elastic.co/t/need-help-in-ports-used-in-beat-and-elastic/148643/4 "2018-09-20T15:03:41Z")

</div>

please reply

---

<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:** [October 18, 2018, 5:03pm UTC](https://discuss.elastic.co/t/need-help-in-ports-used-in-beat-and-elastic/148643/5 "2018-10-18T17:03:45Z")

</div>

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