How to access to the deployed flow with https://ip_local/dashboard

Hello to all,

I can acces to my deployed dashboard like this ,

https://192.168.1.33:1880/dashboard

I would like to know if there is a way to reduce the link to :

https://192.168.1.33/dashboard

Many tanks in advance for any reply.

Dimitri.

If you configure Node-RED on port 443 (https or 80 for http) it will work but it's maybe a bad idea. @TotallyInformation please can you confirm.

These two ports are the defaults which implies that if you have another service that uses these ports you will break them

You can only use port 443 if the following are all true:

  • You run Node-RED from systemd (if on Linux) or run as root or some equivalent on Windows. This is because any port below 1024 is privileged and requires higher rights. Of these options only running from systemd is at all safe.

  • You don't want to expose any other secure web service from the server - since Node-RED will have "stolen" the port.

The better way to do this is to leave Node-RED alone and add a reverse proxy such as NGINX. The proxy configuration will let you translate any microservice port such as Node-RED into a different port and would let you apply it to a different URL path if you needed to also have other secure services.

2 Likes

Mnay thanks for yours answers, I will have a look on NGINX :slight_smile:

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