I'm trying to setup a mosquitto MQTT server on Windows using bash from Ubuntu on Windows because the code I'm try to run is that of Linux, but I've been getting this error. I've surfed through the internet for days now and still haven't found a solution,

1588558652: Warning: Mosquitto should not be run as root/administrator.
1588558652: mosquitto version 0.15 (build date 2018-09-05 15:14:14+0000) starting
1588558652: Opening ipv4 listen socket on port 1883.
1588558652: Opening ipv6 listen socket on port 1883.
1588558652: Error: Address already in use

Mind you I'm not a coder so I'm new to all of this. Thanks for helping...

  • The "Error: Address already in use" is a red flag to me. Can you explain whether you've configured this service for a particular set of ports? Have you already started this service previously? – Jeff Schaller May 4 at 12:06
  • No I haven't started it. I even saw something about rebooting it which I did but the problem still persists – ClassicN3rd May 4 at 13:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.