# Error fetching data for metricset logstash.node\_stats: error making http request: port 9600 connection refused

**URL:** <https://discuss.elastic.co/t/error-fetching-data-for-metricset-logstash-node-stats-error-making-http-request-port-9600-connection-refused/336965>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [June 27, 2023, 9:48am UTC](https://discuss.elastic.co/t/error-fetching-data-for-metricset-logstash-node-stats-error-making-http-request-port-9600-connection-refused/336965 "2023-06-27T09:48:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![deepier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/deepier/32/122727_2.png) [@deepier](https://discuss.elastic.co/u/deepier)\
**Post date:** [June 27, 2023, 9:48am UTC](https://discuss.elastic.co/t/error-fetching-data-for-metricset-logstash-node-stats-error-making-http-request-port-9600-connection-refused/336965/1 "2023-06-27T09:48:45Z")

</div>

Hello Everyone,

Good day, I already setup my elastic and metricbeat. I already enable some metricbeat modules like elasticsearch-xpack configured the yml.

Now im tryng to add logstash via metricbeat but when i restarted the service of metricbeat i got

"Error fetching data for metricset logstash.node\_stats: error making http request: Get "://x.x.x.x:9600/": dial tcp x.x.x.x:9600: connect: connection refused","service.name":"metricbeat","ecs.version":"1.6.0"}

ELK version 8.8.1  
any help is appreciated.

Thank you

---

<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:** [July 25, 2023, 11:49am UTC](https://discuss.elastic.co/t/error-fetching-data-for-metricset-logstash-node-stats-error-making-http-request-port-9600-connection-refused/336965/2 "2023-07-25T11:49:12Z")

</div>

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