Skip to content

Particularize Mosquitto MQTT (port listening and users)

Hello.

I am using Mosquitto MQTT for PLCnext x86, on an EPC 1522 and it works very well, but I would like to particularize Mosquitto, in detail 2 items:

1 Modify the port on which Mosquitto listens.

2. The configuration of users.

For Item 1. Can you tell me how to do it? 

For Item 2. I know that it is possible to access the Mosquitto configuration in "/opt/plcnext/appshome/data/60002172000712/volumes/mosquitto/config/mosquitto.conf", is it in this file where I have to configure that the anonymous access is false?

Comments

  • Hello carflomi,

    please see answers to your questions below:

    Q: For Item 1. Can you tell me how to do it? 

    A: Yo can edit the file: /opt/plcnext/appshome/data/60002172000712/volumes/mosquitto/config/mosquitto.conf and adapt: # listener port-number [ip address/host name/unix socket path]

    Q: For Item 2. I know that it is possible to access the Mosquitto configuration in "/opt/plcnext/appshome/data/60002172000712/volumes/mosquitto/config/mosquitto.conf", is it in this file where I have to configure that the anonymous access is false?

    A: Yes, you can propceed your configuration in this file (appshome is the work-directory of App)


    Q: 2. The configuration of users.

    -> You can contact the App-Developer in App Store to get the detailed information or try to make the configuration in "/opt/plcnext/appshome/data/60002172000712/volumes/mosquitto/config/mosquitto.conf"

    BR Eduard

Sign In or Register to comment.