Connection refused on tutorial when curl -G 'http://<IP address>/kapacitor/v1/ping'

Hello there:

I decided today to learn juju, and I have followed the complete tutorial from:

https://juju.is/docs/olm/get-started-with-juju

I decided to go with examples on LXD.

After all the steps from the tutorial, I got to a full green juju status where kapacitor and influxdb are related. It caught my attention that juju status didn’t show any “80” port opened:

- influxdb/0: 10.240.187.77 (agent:idle, workload:active) 8083/tcp, 8086/tcp
- kapacitor/0: 10.240.187.240 (agent:idle, workload:active) 9092/tcp

Anyway, I tested the command with no success:

ubuntu@tutorial-vm:~$ curl -G http://10.240.187.240/kapacitor/v1/ping
curl: (7) Failed to connect to 10.240.187.240 port 80: Connection refused

ubuntu@tutorial-vm:~$ curl -G http://10.240.187.77/kapacitor/v1/ping
curl: (7) Failed to connect to 10.240.187.77 port 80: Connection refused

What do I do wrong?

Thank you,