Influx Configuration Node - unexpected https:// protocol

Good afternoon,

I'm having problems configuring the Influx Configuration Node (i.e., the Influx Server selected when setting up an InfluxDB In or InfluxDB Out Node). I'm using InfluxDB v1.8

  1. Occasionally the protocol defaults to https:// even when "secure connection" checkbox is unchecked. The only way I've found of reverting to http: is to select "secure", deploy, then deselect it and deploy again. The JSON configuration node below has http:// but also has a blank SSL/TLS node. It this correct/expected?
[
    {
        "id": "b644ba197cda86be",
        "type": "influxdb batch",
        "z": "4c457c4eb7ed6a80",
        "influxdb": "6ca8bde.9eb2f55",
        "precision": "",
        "retentionPolicy": "",
        "name": "Influx Out Batch (v1.x)",
        "database": "database",
        "precisionV18FluxV20": "ms",
        "retentionPolicyV18Flux": "",
        "org": "organisation",
        "bucket": "bucket",
        "x": 1100,
        "y": 480,
        "wires": []
    },
    {
        "id": "6ca8bde.9eb2f55",
        "type": "influxdb",
        "hostname": "172.20.0.2",
        "port": "8086",
        "protocol": "http",
        "database": "mydb",
        "name": "InfluxDB B1.x (172.x.x.x)",
        "usetls": false,
        "tls": "f7f39f4e.896ae",
        "influxdbVersion": "1.x",
        "url": "",
        "timeout": "",
        "rejectUnauthorized": false
    },
    {
        "id": "f7f39f4e.896ae",
        "type": "tls-config",
        "name": "local-tls",
        "cert": "",
        "key": "",
        "ca": "",
        "certname": "",
        "keyname": "",
        "caname": "",
        "verifyservercert": false
    }
]

I have found that I can export the node, edit it to http:// if necessary and re-import it if https:// persists.

  1. The second problem occurs, again when configuring the Configuration Node. The port is consistently 8086 (and this is confirmed in Portainer), below:

[influxdb] healthy iotstack [influxdb:1.8] 2024-02-07 07:36:43 172.20.0.2 [8086:8086] administrators

As you can see it was installed via IOTstack using its defaults.

The issue concerns the host and port settings. I expected to be able to use any of:

[mylocalip_address]    <-- (e.g., 192.168.1.100)
[hostname.local]       <-- (e.g., myraspberrypi.local)
[localhost]

... but none of these will connect to InfluxDB. The only host that 'works' is:

[172.20.0.2]

... which is the IP address reported in Portainer, above, and which is, I assume(?), the IP address INSIDE the container that is eventually mapped to the local network IP address. That would be OK were it not for fact that a restart of the container results in a change of this IP address. I need something that endures.

NOTE: when accessing influxdb from Grafana, the followin g connection is successful

http://192.168.1.100:8086

I'm new to much of this and I'm now lost as to why, where to look and what to do.

Any and all help much appreciated,
Ric