Import Heartbeat Dashboard is trying to connect Elasticsearch client on http://127.0.0.1:9200

Is there a reason you're using such an old version of heartbeat? Can you upgrade to the lastest version?

In the latest versions the heartbeat dashboards are now located here: https://github.com/elastic/uptime-contrib. See the README for instructions on installing the dashboard.