Influxdb 2 connection refused

Hi everyone,

I am trying to integrate influxdb into my application. Chirpstack is running fine and the gateway and devices are connected.
I am using docker 2.0.8-alpine version of influxdb and startet the container using:
docker run --name influxdb2 -p 8086:8086 --volume $PWD:/var/lib/influxdb2 influxdb:2.0.8-alpine

When I call https://myurl.de:8086
I get a connection refused.
I’ve followed the instruction on:
Install InfluxDB | InfluxDB OSS 2.0 Documentation → Docker Install Guide

Do you have any ideas what I am doing wrong?

A connection refused error is either because nothing is listening on that port (thus no InfluxDB running) or it can’t be reached because of a network issue (firewall).