ERROR [VersionProbe] Unable to retrieve version from Elasticsearch node: Failed to connect to /127.0.0.1:9200. - Connection refused (Connection refused)

It’s as if the elasticsearch service isn’t running:

$ sudo systemctl status elasticsearch 

You can condense the server.conf file for posting with this command (found here) that eliminates comments:

cat /etc/graylog/server/server.conf         | egrep -v "^\s*(#|$)"

Don’t forget to obfuscate/remove secrets etc…

1 Like