MQTT Node doesn't allow for port to be edited.
See original GitHub issueHi,
The MQTT Input node does not seem to allow you to edit the server port but instead has it locked to 1883.
Note: We were participating in a hackathon over the weekend where several different groups were trying to use MQTT input nodes and all ran into the same issue with their own installations.
What are the steps to reproduce?
Add a MQTT Input node to your flow graph. Double click on node to edit. Click pencil icon to edit server
What happens?
The Port
field is not editable.
What do you expect to happen?
The Port
field should be editable for servers that don’t use the default port of 1883.
Please tell us about your environment:
- Node-RED version: 1.0.3: Maintenance Release
- Node.js version: v13.6.0
- npm version: 6.13.4
- Platform/OS: macOS Catalina
- Browser: Chrome
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Configuring the Node-Red MQTT Publish and Subscribe Nodes
To connect to an MQTT broker or server you need to know the Broker IP address or name, and the port that it...
Read more >Mosquitto does not allow connection via External IP Windows 10
conf command, I get an error that says "Error: Only one usage of each socket address (protocol/network address/port) is normally permitted." The ...
Read more >Using the Node.js MQTT Client -Starting Guide
Tutorial showing how to use the Node.js MQTT Client. Stating with the connection and including connection errors.
Read more >Cannot get Mosquitto to Allow Connection from Outside Local ...
1 Answer 1 · Step 1: Install Mosquitto Software · Step 2: Open Port 1883 and start firewall · Step 3: Verify Mosquitto...
Read more >Mosquitto allow local network access - Configuration
You would need to change the “expose” statement to a “ports” statement, if Home Assistant and Mosquitto are not on the same network....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ah yes, that’s the expected behaviour. If you specify a fully qualified URL then you don’t set a port separately - otherwise we have to deal with deciding if the user wants us to use the port from the URL or from the input.
Thanks for the confirmation. It makes sense now that we’ve had this conversation but it might be a good idea to add that to the “Node Help” section as well.