First off I am very new at this. So please be kind. I had Node Red running on a Raspberry Pi and had a isssue so I did a clean install of the PI and Node Red. After that when I tried to launch the Node Red dashboard from my home PC like before I get the error Cannot GET /ui. I can get on XXX.XXX.XXX.XXX:1880 site.
I have spent hours searching for help online but nothing has helped.
Netstat
Have you installed the node-red-dashboard - node-red-dashboard (node) - Node-RED
and added some of the dashboard nodes to a flow?
If not, go to the palette, and you'll find it in the Install tab.
Ok I did find out how to install the Node Red dashboard and successfully did that. It is working except when I a node tries to connect here is a screenshot
Are you still trying to get the dashboard working, or are you now trying to use mqtt? If you want to use mqtt then you need a broker such as mosquito.
I recommend watching this playlist: Node-RED Essentials. The videos are done by the developers of node-red. They're nice & short and to the point. You will understand a whole lot more in about 1 hour. A small investment for a lot of gain.
As @Colin has said, you really need to spend a little time watching the Node-RED Essentials playlist to get a better understanding how node-RED works.
After that, if you have a problem, please start a new topic, and fully describe what the problem is, and what you have tried to solve it.