Hi,
How can we configure the node-red editor web page and the http in nodes to use different ip:port or even different network interfaces, as available on the server?
Details, two scenarios, I can leave with any of the two if we can make it possible:
-
On different port on same ip, let's use 10.1.1.10/24 as the ip of the server.
Node-red editor url 10.1.1.10:1880
Http ip node to respond to 10.1.1.10:8888 -
On different interface/ip
Node-red server has two NICs:
one in Lan1, 192.168.1.10/24 ,
another in Lan2, 172.16.1.10/24.
I am trying to have the editor on 192.168.1.10:1880 and the http in node on 172.16.1.10:1880
The reason is that I do not want the node-red login page to be presented at all on 172.16.1.10:"any port".
I have tried using the uiHost option in .node-red/settings.js but that applies to both the editor web page and the http in nodes.
I have also tried using the iptables, but those rules would only work as expected if we can use different ports on same ip, not if same port is used.
Thank you in advance!