Localhost:1880 connection refused

I have embedded Node-Red via SignalK Server running on a RPI3. I can access localhost:3000 to see the SignalK Server. But when I try to access localhost:1880 to see the Node Red dashboard, it says Connection Refused. I’ve also tried 127.0.0.1:1880, and 192.168.50.46:1880 (the RPI WLAN IP address). I tried disabling the firewall (sudo ufw disable), but got the same result. The browser is Chromium. The OS is Ubuntu (Lysmarine BBN package). Any ideas here?

Welcome to the forum @torrmundi.

That's quite an esoteric setup! Interesting though.

I'm sure you've seen the Bareboat Necessities documentation where it says

NodeRed is installed into SignalK. To use NodeRed login into SignalK by visiting http://localhost:3000 clicking 'login', choosing 'remember me' session and storing the password in a browser.

And https://github.com/SignalK/signalk-node-red says

You can access the node-red Admin console by navigating to Webapps on the node server admin console, or use a direct url like http://localhost:3000/plugins/signalk-node-red/redAdmin/

If you install node red dashboard, then the url for the dashboard will be we be http://localhost:3000/plugins/signalk-node-red/redApi/ui/

Do either of these work for you?

Yes I did see the http://localhost:3000 link and it works well.

The direct link to node-red admin works in as far as it loads the page for designing flows. But it quickly thereafter says “Lost connection to server, reconnecting in XXs. Try now”. Try now fails. Refreshing the page works, but will lose the connection again.

Oddly, accessing the same page by clicking on Node-Red in the Signalk Webapps page via localhost:3000 brings up the localhost:3000/plugins/signalk-node-red/redAdmin page and it never disconnects.

The http://localhost:3000/plugins/signalk-node-red/redApi/ui/ link doesn’t give any error, but also doesn’t load any dashboard - it’s a totally blank page. Yes, I did add a single button and an audio out dashboard items to my flow1, and then deployed.

.../ui is the url (in a 'normal' installation) for the original dashboard component node-red-dashboard.
If you have the new one @flowfuse/node-red-dashboard i'd expect it to be at .../dashboard

Hmm,

Cannot GET /plugins/signalk-node-red/redApi/dashboard

You lost me at the “@flowfuse/node-red-dashboard” part.

I have node-red-dashboard v3.6.5 installed. Not the @flowfuse/node-red-dashboard.

If I look at settings, On all flows, then edit Node-RED Dashboard, it shows that “This ui_base node is the main node that all other dashboard widget nodes communicate to.”

Blank pages will often show errors if you open your browsers dev tools and go to the console tab.