Filebeat to logstash connect: no route to host

Everything is up and running but filebeat cannot contact logstash which is on another machine
input {
beats {
port => 5044

output {
elasticsearch {
hosts => ["http://localhost:9200"]
index => "%{m3beat-%{+YYYY.MM.dd}"
stdout { codec => rubydebug }

The Logstash hosts

hosts: [""]

I get the following error in filebeat log:
48:25.719+0100 ERROR pipeline/output.go:100 Failed to connect to backoff(async(tcp:// dial tcp connect: no route to host
2019-02-04T17:48:25.719+0100 INFO pipeline/output.go:93 Attempting to reconnect to backoff(async(tcp:// with 6 reconnect attempt(s)
2019-02-04T17:48:25.719+0100 DEBUG [logstash] logstash/async.go:111 connect

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