# Editor url and http in on diferent IP:port or server interfaces

**URL:** <https://discourse.nodered.org/t/editor-url-and-http-in-on-diferent-ip-port-or-server-interfaces/62130>\
**Category:** General\
**Created:** [3 May 2022 15:49 UTC](https://discourse.nodered.org/t/editor-url-and-http-in-on-diferent-ip-port-or-server-interfaces/62130 "2022-05-03T15:49:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Liviu](https://avatars.discourse-cdn.com/v4/letter/l/a3d4f5/32.png) [@Liviu](https://discourse.nodered.org/u/Liviu)\
**Post date:** [3 May 2022 15:49 UTC](https://discourse.nodered.org/t/editor-url-and-http-in-on-diferent-ip-port-or-server-interfaces/62130/1 "2022-05-03T15:49:27Z")

</div>

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:

1. 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

2. 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!

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [4 May 2022 15:58 UTC](https://discourse.nodered.org/t/editor-url-and-http-in-on-diferent-ip-port-or-server-interfaces/62130/2 "2022-05-04T15:58:23Z")

</div>

You can't do this with Node-RED alone since it only presents a single web server.

However, you can certainly do it with a reverse proxy. See the other recent thread on reverse proxy where I've shared some NGINX and Caddy config files.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [3 July 2022 15:58 UTC](https://discourse.nodered.org/t/editor-url-and-http-in-on-diferent-ip-port-or-server-interfaces/62130/3 "2022-07-03T15:58:32Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
