# HttpProf not works

**URL:** <https://discuss.elastic.co/t/httpprof-not-works/104236>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [October 17, 2017, 12:01pm UTC](https://discuss.elastic.co/t/httpprof-not-works/104236 "2017-10-17T12:01:44Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![baac7d8fd69f222caad0](https://avatars.discourse-cdn.com/v4/letter/b/7bcc69/32.png) [@baac7d8fd69f222caad0](https://discuss.elastic.co/u/baac7d8fd69f222caad0)\
**Post date:** [October 17, 2017, 12:01pm UTC](https://discuss.elastic.co/t/httpprof-not-works/104236/1 "2017-10-17T12:01:45Z")

</div>

I start the fileBeat like this：  
./filebeat -c DataCenterCollecterAgent.yml -httpprof 127.0.0.1:6000  
I use command to get FileBeat info like this:  
curl http:127.0.0.1:60000/debug/vars  
It returns:  
curl: (7) Failed to connect to 127.0.0.1 port 60000: Connection refused

And i found that the 60000 port is not listend, please help me to figure out why.

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [October 17, 2017, 10:24pm UTC](https://discuss.elastic.co/t/httpprof-not-works/104236/2 "2017-10-17T22:24:52Z")

</div>

> [@baac7d8fd69f222caad0](#):
>
> -httpprof 127.0.0.1:6000

> [@baac7d8fd69f222caad0](#):
>
> curl http:127.0.0.1:60000

You have it listening on `6000` but are attempting to connect to `60000`.

---

<div class="post-metadata">

**Author:** ![baac7d8fd69f222caad0](https://avatars.discourse-cdn.com/v4/letter/b/7bcc69/32.png) [@baac7d8fd69f222caad0](https://discuss.elastic.co/u/baac7d8fd69f222caad0)\
**Post date:** [October 18, 2017, 3:23am UTC](https://discuss.elastic.co/t/httpprof-not-works/104236/3 "2017-10-18T03:23:38Z")

</div>

sorry  
I use -httpprof 127.0.0.1:60000 not -httpprof 127.0.0.1:6000

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [October 18, 2017, 9:33am UTC](https://discuss.elastic.co/t/httpprof-not-works/104236/4 "2017-10-18T09:33:40Z")

</div>

What version of Filebeat are you running and what OS?

When filebeat is running can you please use `sudo netstat -anp | grep 60000` and share the output.

---

<div class="post-metadata">

**Author:** ![baac7d8fd69f222caad0](https://avatars.discourse-cdn.com/v4/letter/b/7bcc69/32.png) [@baac7d8fd69f222caad0](https://discuss.elastic.co/u/baac7d8fd69f222caad0)\
**Post date:** [October 19, 2017, 3:47am UTC](https://discuss.elastic.co/t/httpprof-not-works/104236/5 "2017-10-19T03:47:48Z")

</div>

os： centos 7  
fileBeat： 5.4.3  
When i run the command : sudo netstat -anp | grep 60000  
it shows nothing.......  
But filebeat is functioning well now

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [October 23, 2017, 12:27pm UTC](https://discuss.elastic.co/t/httpprof-not-works/104236/6 "2017-10-23T12:27:20Z")

</div>

Can you add `-d "*"` to the flags used to start filebeat. Are there any errors in the Filebeat log file? Anything related to 60000?

---

<div class="post-metadata">

**Author:** ![baac7d8fd69f222caad0](https://avatars.discourse-cdn.com/v4/letter/b/7bcc69/32.png) [@baac7d8fd69f222caad0](https://discuss.elastic.co/u/baac7d8fd69f222caad0)\
**Post date:** [October 24, 2017, 7:53am UTC](https://discuss.elastic.co/t/httpprof-not-works/104236/7 "2017-10-24T07:53:31Z")

</div>

Nothing errors found in filebeats log and no program related to port 60000  
I will true -d "\*"  
Thinks

---

<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 21, 2017, 7:53am UTC](https://discuss.elastic.co/t/httpprof-not-works/104236/8 "2017-11-21T07:53:41Z")

</div>

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