Imported flow from clipboard now getting spammed with connection error

I copied in a flow example and its seems like the generic server settings from one of the nodes has caused some error.

Home assistant connection failed with error: Connection to home assistant could not be established with config: https://yourdomain.duckdns.org:8123 <password redacted>"    

Deleted the imported nodes and only have the one server that I can see in my nodes.
I’m still connected to my server and everything else is working fine.

So I fixed this by copying my flows, deleting my node-red folder and re installing.
If someone know where the server settings are stored that would probably have been a better way to go.