question

xzv avatar image
xzv asked

Switching ports of Remote Console and Node-RED (80 / 1881)?

I'd like to show a nice dashboard hosted by Node-RED when sb. in the local network enters the GX's IP in their web browser.

Can I somehow redirect them to IP:1881, or switch the Remote Console's port (80) with Node-RED's (1881)?

Node-REDremote console
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

1 Answer
matt1309 avatar image
matt1309 answered ·

Hi @XZv

I've never messed with this but looks like the ports are set in nginx configs.

/etc/nginx/sites-available/

Not sure if these are overridden on reboot. but easy enough to test.

Might need a script stored in /data to edit the ports to whatever you want them to be automatically after updates as I imagine they get overridden back to default when you updated

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.