如何修改node-red 1880端口 nano /root/.node-red/settings.js
Search for the line
uiPort: process.env.PORT || 1880,
and change it to
uiPort: process.env.PORT || 80
Restart the node-red service:
systemctl restart node-red