Install Grafana
Configure the port
Edit/etc/grafana/grafana.ini to run on port 4000 instead of the default 3000:
The line starts commented out with
;http_port = 3000. Removing the ; and changing the value is what actually takes effect.Enable and start
Confirm it’s listening on the right port:
admin / admin (you’ll be prompted to change it on first login).
Add Loki as a data source
In Grafana UI: Connections → Data sources → Add data source → LokiReverse proxy (optional)
If exposing Grafana on a subdomain instead of an IP:port, reuse the Nginx setup pattern withproxy_pass http://localhost:4000; and a server_name grafana.jethings.com;.