Git Product home page Git Product logo

Comments (4)

gcgarner avatar gcgarner commented on May 24, 2024

Hello, as far as i am aware mosquitto doesn't have a web interface. port 1883 is for the mqtt traffic itself. You can access the mosquitto terminal via the script ./services/mosquitto/terminal.sh (if run from the IOTstack folder). However you will only be able to run command line tools.

Typically you just need to run mosquitto and you will interface to it via Node-RED. The topics that you send from any mqtt client will be created in mosquitto automatically

https://www.youtube.com/watch?v=AsDHEDbyLfg here is a video where he shows the mosquiito_pu and mosquitto_sub commands. the only difference is the they would need to be run inside the mosquitto terminal not in the regular terminal

side note, remember that if you are trying to talk to mosquitto from nodered that if you use the default config the address would be "mosquitto" but it you activate the network_mode=host then it will be "127.0.0.1"

from iotstack.

xelectro avatar xelectro commented on May 24, 2024

from iotstack.

laenan8466 avatar laenan8466 commented on May 24, 2024

Hey Graham,
thanks for your awesome IOT stack.
I got stuck with the config address of the mosquitto server locally for two days now, finally finding this very helpful issue.
Suggestion: Please add the information about network_mode to the Wiki entries of MQTT and/or node-red. This information was really hard to find, as a newbie to Docker and IOTstack. I guess changes in the Wiki aren't possible for every github user?
Cheers, Laenan

from iotstack.

gcgarner avatar gcgarner commented on May 24, 2024

from iotstack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.