# Winlogbeat failed to connect Logstash server after ssl configuration

**URL:** <https://discuss.elastic.co/t/winlogbeat-failed-to-connect-logstash-server-after-ssl-configuration/278542>\
**Category:** Logstash\
**Tags:** windows\
**Created:** [July 13, 2021, 1:10pm UTC](https://discuss.elastic.co/t/winlogbeat-failed-to-connect-logstash-server-after-ssl-configuration/278542 "2021-07-13T13:10:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rojal\_Paul](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rojal_paul/32/90997_2.png) [@Rojal\_Paul](https://discuss.elastic.co/u/Rojal_Paul)\
**Post date:** [July 13, 2021, 1:10pm UTC](https://discuss.elastic.co/t/winlogbeat-failed-to-connect-logstash-server-after-ssl-configuration/278542/1 "2021-07-13T13:10:12Z")

</div>

I iam posting teh photos of my logstash pipeline, and result of winlogbear output when i tried the test, it's refusing the connection.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/7/97f71ba37b734ff962dc09fcd9081e95d8822aa4.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/2/b2b7fa2981a8396c00a33e83b5c58a2e6d4269f9.png)  
cd ..

---

<div class="post-metadata">

**Author:** ![AquaX](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aquax/32/92006_2.png) [@AquaX](https://discuss.elastic.co/u/AquaX)\
**Post date:** [July 14, 2021, 4:09pm UTC](https://discuss.elastic.co/t/winlogbeat-failed-to-connect-logstash-server-after-ssl-configuration/278542/2 "2021-07-14T16:09:43Z")

</div>

Do you have a firewall in place for your operating system?

On RHEL7/CentOS 7, for example, you need to add a firewall exception

```auto
# firewall-cmd --zone=public --add-port=5033/tcp --permanent
success
# firewall-cmd --reload
success

```

Then make sure that when you start logstash that those ports are actually listening:

```auto
netstat -an | grep 5033

```

---

<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:** [August 11, 2021, 4:10pm UTC](https://discuss.elastic.co/t/winlogbeat-failed-to-connect-logstash-server-after-ssl-configuration/278542/3 "2021-08-11T16:10:08Z")

</div>

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