HTTP input connection refused

I am using CentOS 7.7 / Logstash 7.4 (also didn't work in 7.3.1) and trying to use the http input to accept messages sent via HTTP (some of our existing scripts log this way).

The server accepts traffic to the beats and syslog inputs already configured, but won't accept traffic to a HTTP input.

input {
    http {
        host => "192.168.104.174"
        port => "8080"
        type => "http"
    }
}

I've also tried leaving host as 0.0.0.0, but that made no difference, the ports are open in firewalld, ss shows the ports as listening, I've tried setting SELinux to permissive and I'm mostly out of ideas now.

It does work if I use curl from the host itself.

curl -XPUT 'http://192.168.104.174:8080' -d 'hello'

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