# Anyway to remove the "1880" from the node-red url?

**URL:** https://discourse.nodered.org/t/anyway-to-remove-the-1880-from-the-node-red-url/27741
**Category:** Dashboard
**Created:** [4 June 2020 00:37 UTC](https://discourse.nodered.org/t/anyway-to-remove-the-1880-from-the-node-red-url/27741 "2020-06-04T00:37:42Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![RyuunosukeDS3](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ryuunosukeds3/32/22503_2.png) [@RyuunosukeDS3](https://discourse.nodered.org/u/RyuunosukeDS3)
#### Post date: [4 June 2020 00:37 UTC](https://discourse.nodered.org/t/anyway-to-remove-the-1880-from-the-node-red-url/27741/1 "2020-06-04T00:37:42Z")

</div>

I need to make it easier for ppl to access since i'm making a industrial dashboard, right now it is like "industry:1880/dashboard" and i want to make it something like "industry/dashboard". Sorry if it is duplicated post, but when i searched it I either didn't find or dind't really understand and thought it was not the answer to my question...

---

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [4 June 2020 00:40 UTC](https://discourse.nodered.org/t/anyway-to-remove-the-1880-from-the-node-red-url/27741/2 "2020-06-04T00:40:31Z")

</div>

(I'm not expert, but......)

The `1880` is a port and is used to get to the Node-Red page.

`HTML` pages are .... 80 usually.

As that is the default it is not needed/used to get to _normal_ (other?) pages.

If you want to access `Node-Red` you will need to use 1880

---

<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 June 2020 00:43 UTC](https://discourse.nodered.org/t/anyway-to-remove-the-1880-from-the-node-red-url/27741/3 "2020-06-04T00:43:00Z")

</div>

You can change the port from settings.js to anything \>1024. If you want to use something \<1024 you would generally have to run Node-RED as root which is not recommended. However, you can get round that when running a service from systemd - I can't remember the details off the top of my head - it is in another post somewhere.

Alternatively, you can use a reverse proxy and hide everything behind that. That approach brings other benefits too though it does have a higher resource overhead of course.

---

<div class="post-metadata">

### Author: ![RyuunosukeDS3](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ryuunosukeds3/32/22503_2.png) [@RyuunosukeDS3](https://discourse.nodered.org/u/RyuunosukeDS3)
#### Post date: [4 June 2020 00:43 UTC](https://discourse.nodered.org/t/anyway-to-remove-the-1880-from-the-node-red-url/27741/4 "2020-06-04T00:43:02Z")

</div>

i've tried switching the port to 80 but it didn't really help for i could not access the page, it would search in the google... malbe i'd need to add something after a tfot? like industry."somethinghere"/dashboard?

---

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [4 June 2020 00:48 UTC](https://discourse.nodered.org/t/anyway-to-remove-the-1880-from-the-node-red-url/27741/5 "2020-06-04T00:48:41Z")

</div>

(Again: I'm not expert)

You seem to be missing a basic principle of how it works.

HTTP uses port 80.

That is the _standard_ for the internet. Browsers talk on port 80.

Node-Red is a JavaScript platform that may send HTML stuff down to the browser, but it isn't HTML.

It is JavaScript.

@TotallyInformation explained the use of ports.  
Anything above 1024 is fine. If you want it below 1024 you need to run Node-Red as ROOT and this is **NOT** recommended.

I'm way out of my skill set. Read what @TotallyInformation said.

It is just how it is. All Node-Red pages are on port 1880. (Or anything above 1024 if you edit the settings file)

---

<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 June 2020 00:53 UTC](https://discourse.nodered.org/t/anyway-to-remove-the-1880-from-the-node-red-url/27741/6 "2020-06-04T00:53:29Z")

</div>

There is nothing magic about port 1880, it can be any free port. Those below 1024 are privileged which is why you need root or the systemd workaround (systemd itself runs as root).

Node-RED will happily run on port 80 or 443 but if you want users not to see the port number in their browsers, you have to follow the standards and, as you say, 80 is the standard for http, 443 is the standard for https. Browsers generally won't show those by convention.

---

<div class="post-metadata">

### Author: ![RyuunosukeDS3](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ryuunosukeds3/32/22503_2.png) [@RyuunosukeDS3](https://discourse.nodered.org/u/RyuunosukeDS3)
#### Post date: [4 June 2020 00:54 UTC](https://discourse.nodered.org/t/anyway-to-remove-the-1880-from-the-node-red-url/27741/7 "2020-06-04T00:54:10Z")

</div>

hmmm I guess I will just leave as it is then? It's not like it is super hard to access anyway, i just wanted to make it even easier, and more like a regular website.

---

<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 June 2020 00:55 UTC](https://discourse.nodered.org/t/anyway-to-remove-the-1880-from-the-node-red-url/27741/8 "2020-06-04T00:55:03Z")

</div>

It really isn't that hard to do.

---

<div class="post-metadata">

### Author: ![RyuunosukeDS3](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ryuunosukeds3/32/22503_2.png) [@RyuunosukeDS3](https://discourse.nodered.org/u/RyuunosukeDS3)
#### Post date: [4 June 2020 00:55 UTC](https://discourse.nodered.org/t/anyway-to-remove-the-1880-from-the-node-red-url/27741/9 "2020-06-04T00:55:22Z")

</div>

I see, i guess i will leave it as it is, cause they'd need to type out ":80" anyway in order to access, since otherwise it would just return a google search

---

<div class="post-metadata">

### Author: ![RyuunosukeDS3](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ryuunosukeds3/32/22503_2.png) [@RyuunosukeDS3](https://discourse.nodered.org/u/RyuunosukeDS3)
#### Post date: [4 June 2020 00:56 UTC](https://discourse.nodered.org/t/anyway-to-remove-the-1880-from-the-node-red-url/27741/10 "2020-06-04T00:56:07Z")

</div>

The problem is, i tried that, I changed the port, but as I said it returned a google search instead...

---

<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 June 2020 00:56 UTC](https://discourse.nodered.org/t/anyway-to-remove-the-1880-from-the-node-red-url/27741/11 "2020-06-04T00:56:51Z")

</div>

No, that isn't correct. If I'm running Node-RED on a device `192.168.1.20` without TLS configured and I set the port to 80, users can just type the IP address and it will just work.

---

<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 June 2020 00:57 UTC](https://discourse.nodered.org/t/anyway-to-remove-the-1880-from-the-node-red-url/27741/12 "2020-06-04T00:57:27Z")

</div>

Then something else is misconfigured. Without knowing the configuration it is hard to be more specific.

---

<div class="post-metadata">

### Author: ![RyuunosukeDS3](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ryuunosukeds3/32/22503_2.png) [@RyuunosukeDS3](https://discourse.nodered.org/u/RyuunosukeDS3)
#### Post date: [4 June 2020 00:59 UTC](https://discourse.nodered.org/t/anyway-to-remove-the-1880-from-the-node-red-url/27741/13 "2020-06-04T00:59:10Z")

</div>

the thing is, they referenced the ip of my machine as "industry" so typing out "industry/dashboard" in the google chrome won't do.

---

<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 June 2020 01:01 UTC](https://discourse.nodered.org/t/anyway-to-remove-the-1880-from-the-node-red-url/27741/14 "2020-06-04T01:01:42Z")

</div>

OK, for that to work, you need something running on the same network that translates the name `industry` to an IP address. There are several possible ways of doing that.

The reason the browsers are doing a search is because they don't recognise `industry` as an address.

Typically you would have `industry.my.com` or whatever. Single word addresses are rare and hard to configure centrally. You could use the HOSTS file locally though.

---

<div class="post-metadata">

### Author: ![RyuunosukeDS3](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ryuunosukeds3/32/22503_2.png) [@RyuunosukeDS3](https://discourse.nodered.org/u/RyuunosukeDS3)
#### Post date: [4 June 2020 01:13 UTC](https://discourse.nodered.org/t/anyway-to-remove-the-1880-from-the-node-red-url/27741/15 "2020-06-04T01:13:24Z")

</div>

Well, since i'm not really the one who takes care of that part i will talk with the IT team and see what we can do.

---

<div class="post-metadata">

### Author: ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)
#### Post date: [4 June 2020 05:48 UTC](https://discourse.nodered.org/t/anyway-to-remove-the-1880-from-the-node-red-url/27741/16 "2020-06-04T05:48:58Z")

</div>

Make a bookmark in the browser to the :1880 address, it isn't that hard, unless you wan't to give up on all kinds of security risks or setup+maintain all kinds of tools to reduce that risk and make it work.

---

<div class="post-metadata">

### Author: ![ristomatti](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ristomatti/32/5857_2.png) [@ristomatti](https://discourse.nodered.org/u/ristomatti)
#### Post date: [4 June 2020 06:00 UTC](https://discourse.nodered.org/t/anyway-to-remove-the-1880-from-the-node-red-url/27741/17 "2020-06-04T06:00:31Z")

</div>

> [@RyuunosukeDS3](#):
>
> the thing is, they referenced the ip of my machine as "industry" so typing out "industry/dashboard" in the google chrome won't do.

Chrome automatically does a web search when you enter a word without a valid domain (.com, .org). To make it understand "industry" is a local name you will need to add http:// in the beginning. Adding the port is not necessary if it is 80.

---

<div class="post-metadata">

### Author: ![Noschvie](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/noschvie/32/21425_2.png) [@Noschvie](https://discourse.nodered.org/u/Noschvie)
#### Post date: [6 June 2020 11:43 UTC](https://discourse.nodered.org/t/anyway-to-remove-the-1880-from-the-node-red-url/27741/18 "2020-06-06T11:43:16Z")

</div>

> [@Traefik and Docker : Proxy the Dashboard as site sub-path](https://discourse.nodered.org/t/traefik-and-docker-proxy-the-dashboard-as-site-sub-path/26175):
>
> How have a docker-compose to be configured to proxy the dashboard to [myDomain.at/node-red-dashboard] ([http://myDomain.at/node-red-dashboard](http://myDomain.at/node-red-dashboard)) ? current path : [http://myDomain.at:1880/ui](http://myDomain.at:1880/ui) -\> [http://myDomain.at/node-red-dashboard](http://myDomain.at/node-red-dashboard) Thanks!

---

<div class="post-metadata">

### Author: ![peterah](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/peterah/32/20551_2.png) [@peterah](https://discourse.nodered.org/u/peterah)
#### Post date: [8 June 2020 11:53 UTC](https://discourse.nodered.org/t/anyway-to-remove-the-1880-from-the-node-red-url/27741/19 "2020-06-08T11:53:05Z")

</div>

I have another web server running at home (on my synology NAS) and have set up a simple redirect to my nodered dashboard. This will allow you to have a much simpler address and then redirect to your dashboard on port 1880 ie I just type in NAS1/dash to take me to my dashboard.

---

<div class="post-metadata">

### Author: ![mbot](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/mbot/32/20140_2.png) [@mbot](https://discourse.nodered.org/u/mbot)
#### Post date: [8 June 2020 13:03 UTC](https://discourse.nodered.org/t/anyway-to-remove-the-1880-from-the-node-red-url/27741/20 "2020-06-08T13:03:41Z")

</div>

Hi,  
If you want to use 1880 but not show it to end-users and use port 80 for them, you could choose to forward port 80 to 1880. You could also forward based on port 80 and portion of a URL.

A web-server like nginx can do this easily, there are probably more web-servers that can do this or port forwarding in linux.

Best regards,  
Menno

[Next page](https://discourse.nodered.org/t/anyway-to-remove-the-1880-from-the-node-red-url/27741.md?page=2)
