• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

MQTT Mosquitto Local only problem

Q&A Forum › Category: Raspberry Pi › MQTT Mosquitto Local only problem
0 Vote Up Vote Down
AUNG MAW asked 3 years ago

Dear Mr Rui,
I was trying to install Mosquitto MQTT broker on my RPI 4B board as I was following online Tutorial of ESP8266 & Node Red … As you have described, when I start mosquitto -v , it shows running local only mode using default config. so I added listener 1833 & allow_anonymous true at the end of mosquitto.conf file. then reboot…. But it still showing local only. Also when I configured in Node-red, it can’t find localhost. When I put port 1833, it becomes unidentified 1833 🙁 .. I try control GPIO through MQTT and working fine since it is within the same machine. But I can’t connect to RPI board from ESP8266. Kindlyadvise what could be wrong other than I followed exactly your online tutotial about MQTT broker installation? I tried in both Raspbian 32 and 64 … it is the same.

Question Tags: mosquitto installation
4 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.
If you’ve enabled all that, I’m not sure what might be wrong. Did you restart your Raspberry Pi after installing the mosquitto?
Regards,
Sara

0 Vote Up Vote Down
AUNG MAW answered 3 years ago

Hi sara,,
YesI reboot the PI and tried a number of times and restart my PI every time  changes made.
Like I said, I tried with Raspbian 32 bit, 64 bit, and with Desktop version in vmware. All give same result :<

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

That’s a very annoying problem.
I was playing with mosquitto a couple weeks ago, and also got problems with mosquitto even after all the required settings. But, in my case, it was after setting a username and password. It worked fine with the anonymous authentication.
 
Meanwhile, I’m out of the office and I’m unable to experiment with mosquitto at the moment. I’ll be out of the office for two more weeks.
I’ll try to fix the issue when I get back to the office.
 
I also suggest trying to post your issue in a more specific forum like this: https://forum.cedalo.com/
 
I’m sorry that I can’t help much. Meanwhile, let us know if you were able to solve your issue.
 
Regards,
Sara

0 Vote Up Vote Down
AUNG MAW answered 3 years ago

OK … Noted

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.