- What Grafana version and what operating system are you using?
Grafana 10.1.0 on a RPI. - What are you trying to achieve?
Connect to the grafana server from another computer in the local network. - How are you trying to achieve it?
Grafana server is up and running on RPI, if I do sudo systemctl status grafana-server this is the output:
grafana-server.service - Grafana instance
Loaded: loaded (/usr/lib/systemd/system/grafana-server.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2024-08-13 18:45:43 CST; 45s ago
Docs: http://docs.grafana.org
Main PID: 1828 (grafana)
Tasks: 14 (limit: 2059)
CGroup: /system.slice/grafana-server.service
└─1828 /usr/share/grafana/bin/grafana server --config=/etc/grafana/grafana.ini --pidfile=/run/grafana/grafana-server.pid --packaging=deb cfg:default.paths.log
If I do netstat -lptn i get this line in the output:
tcp6 0 0 :::3000 :::* LISTEN -
If on a terminal on the RPI i do curl localhost:3000 I get:
Found.
But if I do curl 127.0.0.1:3000 I get:
curl: (7) Failed to connect to 127.0.0.1 port 3000: Connection refused
-
What happened?
I try to connect to Grafana from another device in the local network by typing the RPI ip followed by :3000 and it shows connection refused. If I send a query to the RPI address without specifying a port it shows me the apache default page I have setup. -
What did you expect to happen?
I should be able to connect to grafana from any device in the local network by typing the RPI IP address in any browser. -
Can you copy/paste the configuration(s) that you are having problems with?
-
Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
No errors, all seems to be working fine. -
Did you follow any online instructions? If so, what is the URL?
-
No.