Grafana-cli plugins install grafana-piechart-panel run fail

when l want to add grafana-piechart-panel plugins withing the command “grafana-cli plugins install grafana-piechart-panel”, the result is failed with the following error information,could anyone l help!

Failed to send requesterrorGet https://grafana.net/api/plugins/repo/grafana-piechart-panel: dial tcp: lookup grafana.net on [::1]:53: read udp [::1]:33852->[::1]:53: read: connection refused
Error: ✗ Failed to send request. error: Get https://grafana.net/api/plugins/repo/grafana-piechart-panel: dial tcp: lookup grafana.net on [::1]:53: read udp [::1]:33852->[::1]:53: read: connection refused

NAME:
Grafana cli plugins install - install <plugin version (optional)>

USAGE:
Grafana cli plugins install [arguments…]

make sure your server has access to the internet. Otherwise install grafana on a server that do have interent access and then copy the contents of /var/lib/grafana/plugins over to the computer without internet access.