How to change MQTT broker's port?
Last updated
Was this helpful?
Last updated
Was this helpful?
To change MQTT broker's port, you need 7 steps:
File path:/usr/bin/AXView30/SensorNetwork/plugin.json
, change the port number to what you want. For example: 11883.
File path: /usr/bin/AXView30/SensorNetwork/Webservices/server.js
Add :11883
after mqtt://localhost
File path: /usr/bin/AXView30/SensorNetwork/Webservices/sockets/webserviceclient.js
Add :11883
after mqtt://localhost
File path: /usr/bin/AXView30/SensorNetwork/Webservices/node-red-ext/nodes/protocol/source_in.js
Add :11883
after mqtt://localhost
File path:/usr/bin/AXView30/SensorNetwork/Webservices/node-red-ext/nodes/protocol/source_out.js
Add :11883
after mqtt:localhost
File path: /etc/mosquitto/mosquitto.conf
Add line port 11883
Now AXview 3.0 is running on port 11883, reboot the device and enjoy!