I have InfluxDB and Grafana set up remotely, and running my load on Windows locally. I want to connect to the remote InfluxDB hosted on GCP Ubuntu 20.04 from my local machine so as to generate reports using Grafana. I am getting a connection refusal. I’m sure it’s not a K6 issue, I just want to tap into the experience of an expert who’d done that before.
The example is here -
ERRO InfluxDB: Couldn't write stats error="Post \"http://188.8.131.52:8086/write?consistency=&db=default&precision=ns&rp=\": dial tcp 184.108.40.206:8086: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond."
I have issued this command but it failed as the connection was refused.
$ k6 run --out influxdb=https://220.127.116.11:8086/myapp myapp.js --insecure-skip-tls-verify