# 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:** 5
**Page:** 2

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [8 June 2020 16:11 UTC](https://discourse.nodered.org/t/anyway-to-remove-the-1880-from-the-node-red-url/27741/21 "2020-06-08T16:11:33Z")

</div>

Also most (probably all) routers will allow you redirect incoming port 80 to port 1880 on the server.

---

<div class="post-metadata">

### Author: ![Deuang](https://avatars.discourse-cdn.com/v4/letter/d/a6a055/32.png) [@Deuang](https://discourse.nodered.org/u/Deuang)
#### Post date: [10 June 2020 23:55 UTC](https://discourse.nodered.org/t/anyway-to-remove-the-1880-from-the-node-red-url/27741/22 "2020-06-10T23:55:53Z")

</div>

There are many possible ways to do this.

For internal access and running on a box that does not have a web server on it, then it should be as simple as changing the port from 1880 to 80.

This does leave you with a problem regardless of what port you use as the admin interface is on the same port and all the user needs to do is remove /dashboard and presto they are into the admin interface and if you have not setup a password then good luck stopping the users playing around.

For external and internal (my setup), you should use something like IIS for windows or nginx for linux and setup a reverse proxy to listen on port 80 and have node-red behind it. There are many benefits to doing this like offloading SSL, hiding the admin interface and restricting access.

CLIENT WEB BROWSER --\> nginx Port 80/443 (SSL) --\> NODE-RED Port 1880  
CLIENT WEB BROWSER \<-- nginx Port 80/443 (SSL) \<-- NODE-RED Port 1880

There are many resources out there that will help you quickly setup a reverse proxy.

Hope this helps.

---

<div class="post-metadata">

### Author: ![SteveMann](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/stevemann/32/3810_2.png) [@SteveMann](https://discourse.nodered.org/u/SteveMann)
#### Post date: [11 June 2020 03:11 UTC](https://discourse.nodered.org/t/anyway-to-remove-the-1880-from-the-node-red-url/27741/23 "2020-06-11T03:11:29Z")

</div>

A redirect works here:

Put this into a file named index.html and put it in the html folder. (I am using Ubuntu and the html folder is here):

> /var/www/html

Now, when I go to 192.168.1.124, I am redirected to 192.168.1.124:1880

```auto
<! -- Redirect to Node Red Dashboard -->
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Page</title>
<meta name="generator" content="WYSIWYG Web Builder 15 - http://www.wysiwygwebbuilder.com">
<meta http-equiv="refresh" content="0; URL=http://192.168.1.124:1880">
</head>
<body>
<div id="wb_Heading1" style="position:absolute;left:46px;top:19px;width:522px;height:69px;z-index:0;">
<h1 id="Heading1">Redirecting to http://192.168.1.124:1880</h1></div>
</body>
</html>

```

---

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

</div>

> [@Deuang](#):
>
> This does leave you with a problem regardless of what port you use as the admin interface is on the same port and all the user needs to do is remove /dashboard and presto they are into the admin interface and if you have not setup a password then good luck stopping the users playing around.

You can, of course, move the admin interface to a different path. And if you have users who you don't want to have access to the Editor then you must apply login security anyway.

---

<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: [25 June 2020 09:12 UTC](https://discourse.nodered.org/t/anyway-to-remove-the-1880-from-the-node-red-url/27741/25 "2020-06-25T09:12:53Z")

</div>

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

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