Mosquitto broker add-on not starting port in use

Hi there,

I’m running Home Assistant 2022.12.8 with Supervisor 2022.11.2, Operating System 9.4 and Frontend 20221213.1 - latest as a VM on my Synology. I’m trying to start the Mosquitto add-on (default settings) but it keeps returning an error: “Failed to start add-on. Port ‘1883’ is already in use by something else on the host.”. I can’t figure out what’s causing the error. My mosquitto broker is running on the Synology but not on the HA-VM, that shouldn’t cause the problem. I’ve got Zigbee2MQTT running, but that isn’t a broker. I’ve uninstalled the add-on and restarted HA several time without any luck. I can start the add-on if I change port 1883 to 1885, but I would like to keep it as default as possible. Any help would be appreciated.

it means that something else is running on this port already right? And it is also validated that, switching to another port works fine. Why don’t you check what is using the respective port

I’ve used netstat -an in terminal (based on Port ‘XXX’ is already in use by something else on the host - Configuration - Home Assistant Community (home-assistant.io)) to find what’s running on 1883, but nothing came up:

.

I couldn’t find any 1883 port being used with the commands found on How to check if port is in use on Linux or Unix - nixCraft (cyberciti.biz).
lsof -i -P -n | grep LISTEN doesn’t output anything:
image

netstat -tulpn | grep LISTEN doesn’t show port 1883 in use:

Any more idea’s?

I had hassio-addons/dutch_gas_prices at main · Skons/hassio-addons · GitHub installed, uninstalled that and rebooted the NAS and now it works; that doesn’t have to mean that the addon was the cause.