Connection could not be made because the target machine actively refused it

Hi,
I am facing some issue with metricbeats connection
Failed to connect: Get http://ipaddress:9200: proxy connect tcp: dial tcp 127.0.0.1:3128: connectex: No connection could be made because the target machine actively refused it.

Metricbeat

metricbeat.modules:
- module: system
  metricsets:
    - cpu
    - filesystem
    - memory
    - network
    - process
  enabled: true
  period: 5s
  processes: ['.*']
  cpu_ticks: false

output.elasticsearch:
  hosts: ["http://ipaddress:9200"]

Elasticsearch: in elasticsearch.yml

network.host: ipaddress
http.port: 9200

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