Mosquito add-on and Owntracks (no device_tracker showing)

Hello,

I am a noob so I need help.

I have installed the Mosquitto add-on in Hassio.

The add-on log states the following:

1536698548: New connection from 172.30.32.1 on port 1883.
1536698548: New client connected from 172.30.32.1 as e9c6cdd4-d2e7-4859-b63e-f5dc7a66d154 (xx, xxx, u'xxxxxxx').

The information within parentheses corresponds to the setup in the Owntracks app (iOS).

The status in the app however is:

idle The operation couldn't be completed. Connection refused { “_kCFStreamErrorCodeKey” = 61; “_kCFStreamErrorDomainKey” = 1; }

I do not know how to interpret this.

I have opened the port 8883.

I have the following config for the add-on:

{
  "plain": true,
  "plain_websockets": false,
  "ssl": false,
  "ssl_websockets": false,
  "anonymous": true,
  "logins": [
    {
      "username": "xxxxxxxx",
      "password": "xxxxxxxx"
    }
  ],
  "customize": {
    "active": false,
    "folder": "mosquitto"
  },
  "certfile": "fullchain.pem",
  "keyfile": "privkey.pem"
}

I have the following in my configuration.yaml

mqtt:
  broker: core-mosquitto
  username: !secret mqtt_user
  password: !secret mqtt_password

I have set up a duckdns account and it works as I can connect to Home Assistant remotely.

In the iOS app I have the following:

Mode: MQTT (there are only the options MQTT and HTTP)
Tracker: an invented name
DeviceID: an invented name
Host: my duckdns adress
Port: 8883
Websockets: off
Proto: 4
TLS: off
Authentication: on
UserID: an invented name
Password: xxxxxxxx
Secret encryption key: empty

Where do I go from here?

I have installed hassio on as Raspberry 3B+ using the method suggested under //Installing Hass.io.

Where do I go from here?

Thx for any help

Changed port from 8883 to 1883 - so now it is working.