# Dashboard starts without Port and ui

**URL:** <https://discourse.nodered.org/t/dashboard-starts-without-port-and-ui/96082>\
**Category:** Dashboard\
**Created:** [18 March 2025 09:00 UTC](https://discourse.nodered.org/t/dashboard-starts-without-port-and-ui/96082 "2025-03-18T09:00:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Egon](https://avatars.discourse-cdn.com/v4/letter/e/3ec8ea/32.png) [@Egon](https://discourse.nodered.org/u/Egon)\
**Post date:** [18 March 2025 09:00 UTC](https://discourse.nodered.org/t/dashboard-starts-without-port-and-ui/96082/1 "2025-03-18T09:00:54Z")

</div>

Hello everyone  
I don't like always accessing the dashboard via url:port/ui.  
I want to open the dashboard directly when I access my Raspbian's URL. However, I want to retain the port for changes to the flows (1880). (The port will probably be protected once I've achieved this here.)  
If I change the path for ui in settings.js, the port defined there remains, as far as I understand.  
Is there an easy way to change this?

---

<div class="post-metadata">

**Author:** ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)\
**Post date:** [18 March 2025 09:17 UTC](https://discourse.nodered.org/t/dashboard-starts-without-port-and-ui/96082/2 "2025-03-18T09:17:29Z")

</div>

The dashboard (both v1 and v2) use the same HTTP server as the Node-RED editor, there is no way to run them on separate ports on their own.

With Dashboard v1 (which I can tell you are using because of the `/ui`) you can choose to remap the route from `/ui` to `/` and move the editor to something else (like `/editor`) and then use something link nginx as a revese proxy to remap the `/` path to port 80 (or 443 for HTTPS) and leave the editor on 1880 `/editor`.

---

<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:** [18 March 2025 12:56 UTC](https://discourse.nodered.org/t/dashboard-starts-without-port-and-ui/96082/3 "2025-03-18T12:56:09Z")

</div>

> [@Egon](#):
>
> However, I want to retain the port for changes to the flows (1880). (The port will probably be protected once I've achieved this here.)

While you could move Node-RED's port to port 80 (though only if running it as a privileged app), that would not let you have the Editor on a port and the Dashboard not on a port.

So, as hardillb has suggested, your only choice would be to use a reverse proxy such as an appropriately configured NGINX server or HA Proxy to front-end Node-RED. You will find some NGINX configuration shared previously on the forum.

---

<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:** [17 April 2025 12:56 UTC](https://discourse.nodered.org/t/dashboard-starts-without-port-and-ui/96082/4 "2025-04-17T12:56:30Z")

</div>

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