# Metricbeat beat module

**URL:** https://discuss.elastic.co/t/metricbeat-beat-module/285991
**Category:** Beats
**Tags:** beats-module
**Created:** [October 6, 2021, 7:57am UTC](https://discuss.elastic.co/t/metricbeat-beat-module/285991 "2021-10-06T07:57:48Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![alaine](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@alaine](https://discuss.elastic.co/u/alaine)
#### Post date: [October 6, 2021, 7:57am UTC](https://discuss.elastic.co/t/metricbeat-beat-module/285991/1 "2021-10-06T07:57:48Z")

</div>

Good Morning,

I have enabled metricbeats on a few of our network sensors that are running filebeat. I am able to run metricbeat with the system module without a problem. When I try to run the beat module I start getting errors:

```auto
module/wrapper.go:259 Error fetching data for metricset beat.state: error making http request: Get "http://localhost:5066/state": dial tcp 127.0.0.1:5066: connect: connection refused

```

I have opened the port via 5066 and have enabled the same ssl config stuff that shows up in the metricbeat.yml just in case, but I am pretty stumped at the moment.

Any thoughts?

Thanks

---

<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: [November 3, 2021, 9:58am UTC](https://discuss.elastic.co/t/metricbeat-beat-module/285991/2 "2021-11-03T09:58:10Z")

</div>

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