TiDB Dashboard中Top SQL显示报错:API: /topsql/instances Request failed with status code 502

是不是防火墙端口没开?

https://docs.pingcap.com/zh/tidb/stable/hardware-and-software-requirements#网络要求