ConnectedHumber/Air-Quality-Web

Mosquitto stuck Address in use (1883)

BNNorman opened this issue · 3 comments

URGENT: I tried systemctl stop mosquitto and restart but always comes up address in use

Forget that - it's kicked in now.

sbrl commented

Fixed it - there was a zombie process lying around that had grabbed the port. I killed ti and restarted the service.

Note that it is NOT the mosquitto service you want. I disabled that one on purpose because it needed to customise the way it worked - it's mosquitto-broker that you want instead @BNNorman.

We should probably document this somewhere.

sudo systemctl status mosquitto-broker