# Apache module

**URL:** https://discuss.elastic.co/t/apache-module/220455
**Category:** Beats
**Tags:** metricbeat
**Created:** [February 21, 2020, 9:30pm UTC](https://discuss.elastic.co/t/apache-module/220455 "2020-02-21T21:30:35Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![sroseman](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@sroseman](https://discuss.elastic.co/u/sroseman)
#### Post date: [February 21, 2020, 9:30pm UTC](https://discuss.elastic.co/t/apache-module/220455/1 "2020-02-21T21:30:35Z")

</div>

I've enabled the apache module, but in metricbeat -e, I see the following error.

//Error fetching data for metricset apache.status: error fetching data: error making http request: Get [http://localhost:8080/server-status?auto=:](http://localhost:8080/server-status?auto=:) dial tcp 127.0.0.1:8080: connect: connection refused

How do I fix this? What should the host be? Does this depend on my configuration?

---

<div class="post-metadata">

### Author: ![shaunak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaunak/32/6643_2.png) [@shaunak](https://discuss.elastic.co/u/shaunak)
#### Post date: [February 21, 2020, 10:49pm UTC](https://discuss.elastic.co/t/apache-module/220455/2 "2020-02-21T22:49:45Z")

</div>

Hi,

There's a couple things you can check, to start off:

1. Is your Apache server running at localhost:8080?
2. From your Metricbeat host, can you run `curl http://localhost:8080` successfully?

Shaunak

---

<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: [March 20, 2020, 10:49pm UTC](https://discuss.elastic.co/t/apache-module/220455/3 "2020-03-20T22:49:45Z")

</div>

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