Required firewall ports for Lens metrics

I’ve built a cluster in my home lab on Debian 12, installed Lens and connected to the cluster. All is good.

I then installed all three metrics - Prometheus, Kube State Metrics and Node Exporter.

No joy, until I stopped the firewall on all three nodes, at which point metrics worked.

I’ve trawled the net and even used Copilot to identify the ports I need to open in Ufw.

Could someone advise on the ports I need to open?