Open a listening port in Node-Red add-on?

Hello. I’m trying to setup a TCP-In listening node in the Node-Red addon that I can use to trigger automations in Home Assistant.

Setting up the TCP-In node is straight forward enough, however I think I need to open the listening port on the Add-On container in order for other devices to be able to connect to it. Is there a way to do this? In the configuration section of the Add-On there is a “Network” section for exposing ports, but it only appears to allow editing the port that the Node-Red Web Interface can use.

Can this be done? Thanks for any help.

Node-Red is configured for host networking, which means that any port that the container starts listening on should be available on the host.

1 Like

You are correct, thank you! I assumed since the web interface port was being remapped that ports were mapped. All is working now. Thanks.