Connection refused while retrieving data for a widget

Let’s see what I can do. @Ponet did already a incredible decent job here! Thanks a lot!

The question is did you managed to start elasticsearch-oss after install? Where are you now?

yes, I have managed to start the elasticsearch-oss service. Thanks to @Ponet guidance.

My issue now is to fix the Connection refused error on the dashboard.

This is a error message from graylog server. Take a look into the graylog server.log. It might be that you have to restart the graylog server after you manage to start the elastic search.

I have ran sudo systemctl restart graylog-server and these are the error logs https://pastebin.com/XZtFnUbh

I don’t know why it is looking for http://127.0.0.1 yet I have specified IP to 192.168.1.55

Okay after taking a glance at your elasicsearch config I see that you set the port there to 9000. This is the listening port, I would suggest not setting this port and leave it to the default. As @Ponet mentioned it should be 9200.

Does graylog run on the same host as elasticsearch? If yes then leave the IP configuration to 127.0.0.1

Now adjust the settings in your graylog server.conf

Wow! Now it works! Thank you @Ponet and @konrad

2 Likes

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