Getsockopt: connection refused

I only have ports 8080,8081,8082 available on this linux sytem.

I get this error(I've also tried other ports):

2017/09/29 02:22:26.347036 single.go:140: ERR Connecting error publishing events (retrying): dial tcp [::1]:8080: getsockopt: connection refused

filebeat.yml:

filebeat.prospectors:

  • input_type: log
    paths:
    • /home/ubuntu/workspace/logfile/logstash-tutorial.log
      output.logstash:
      hosts: ["localhost:8080"]

Hi @brw314,

Do you see anything in Logstash logs? Also I noticed it says [::1]:8080, this could be an IPv6 issue, can you try to write 127.0.0.1:8080 instead?

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