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…