electron-node-red icon indicating copy to clipboard operation
electron-node-red copied to clipboard

uiHost allow external access - not working

Open goodartmr opened this issue 3 years ago • 1 comments

Is there something else to do to allow external access?

I tried to remove attribute "uiHost", but no success. I also noticed, that acces from localhost is possible via 127.0.0.1:18880/ui, but not via :18880/ui. With native node-red it is possible.

Thanks a lot for help.

goodartmr avatar Mar 01 '23 10:03 goodartmr

I had the same problem had to change the server.listen call like this:

// Start the Node-RED runtime, then load the inital dashboard page RED.start().then(function() { server.listen(listenPort,'0.0.0.0',function() { mainWindow.loadURL("http://localhost:"+listenPort+urlStart); }); });

alfredomorales89 avatar Mar 10 '24 02:03 alfredomorales89