Gentlemen: Unfortunately, I did not know enough about node-red at the time, to have looked deeply into the cause and to look at the log.
To clarify - there was no change in the name of the laptop - just a new IP had been assigned.
So before the power fail, I was working on one flow and 4 others were disabled.
When power was restored - I started the node-red server from command prompt by typing node-red.
I did not pay attention at the messages - went to the url that I usually type: http://192.168.0.26:1880
and I saw a blank flow (empty editor).
So started googling for solutions...at the time, I did not realize a new IP had been assigned the the laptop.
All my google results indicated only change in name would cause this and that the filenames had the server name embedded in them. Knowing that I had not changed the name I thought of posting the Q on this forum about effect of IP change to loss of workflows.
So as a lesson learnt - I decided to assign a fixed IP address to my laptop - and there too I overlooked one issue - I used a virtual mac address (assigned by VirtualBox) and not the mac add from the physical adapter. Once that was sorted out, I had a working fixed address.
Also in the mean time, I had saved the contents of ".node-red" folder. By this time, I had opened one of the json files and found that my flows were indeed there.
After assigning a fixed address, I rebooted the laptop again and re-started the node-red and using the new IP address in the url, I was happily surprised to see my environment restored...
I also assigned in the hosts file: a name to the new fixed IP address - same name that I have assigned "W10SSD" that was embeddef in files under .node_red folder (my laptop name)
Now let's look at the following trail...
C:\Users\mohsi.node-red>node-red
20 Apr 01:54:07 - [info]
Welcome to Node-RED
20 Apr 01:54:07 - [info] Node-RED version: v1.0.5
20 Apr 01:54:07 - [info] Node.js version: v10.15.3
20 Apr 01:54:07 - [info] Windows_NT 10.0.18363 x64 LE
20 Apr 01:54:08 - [info] Loading palette nodes
20 Apr 01:54:09 - [info] Dashboard version 2.14.0 started at /ui
20 Apr 01:54:10 - [info] Settings file : \Users\mohsi.node-red\settings.js
20 Apr 01:54:10 - [info] Context store : 'default' [module=memory]
20 Apr 01:54:10 - [info] User directory : \Users\mohsi.node-red
20 Apr 01:54:10 - [warn] Projects disabled : editorTheme.projects.enabled=false
20 Apr 01:54:10 - [info] Flows file : \Users\mohsi.node-red\flows_W10SSD.json
20 Apr 01:54:10 - [warn]
Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
20 Apr 01:54:10 - [info] Starting flows
20 Apr 01:54:10 - [info] Started flows
20 Apr 01:54:10 - [info] Server now running at http://127.0.0.1:1880/
20 Apr 01:54:10 - [info] serial port COM5 opened at 115200 baud 8N1
20 Apr 02:12:29 - [info] Stopping flows
20 Apr 02:12:29 - [info] serial port COM5 closed
20 Apr 02:12:29 - [info] Stopped flows
20 Apr 02:12:29 - [info] Starting flows
20 Apr 02:12:29 - [info] Started flows
20 Apr 02:12:29 - [info] serial port COM5 opened at 115200 baud 8N1
20 Apr 02:15:09 - [info] Stopping flows
20 Apr 02:15:09 - [info] serial port COM5 closed
20 Apr 02:15:09 - [info] Stopped flows
20 Apr 02:15:09 - [info] Starting flows
20 Apr 02:15:09 - [info] Started flows
20 Apr 02:15:09 - [info] serial port COM5 opened at 115200 baud 8N1
20 Apr 02:15:38 - [info] Stopping flows
20 Apr 02:15:38 - [info] serial port COM5 closed
20 Apr 02:15:39 - [info] Stopped flows
20 Apr 02:15:39 - [info] Starting flows
20 Apr 02:15:39 - [info] Started flows
20 Apr 02:15:39 - [info] serial port COM5 opened at 115200 baud 8N1
20 Apr 02:16:47 - [info] Stopping flows
20 Apr 02:16:47 - [info] serial port COM5 closed
20 Apr 02:16:47 - [info] Stopped flows
20 Apr 02:16:47 - [info] Starting flows
20 Apr 02:16:47 - [info] Started flows
20 Apr 02:16:47 - [info] serial port COM5 opened at 115200 baud 8N1
20 Apr 02:31:38 - [info] Stopping flows
20 Apr 02:31:38 - [info] serial port COM5 closed
20 Apr 02:31:38 - [info] Stopped flows
20 Apr 02:31:38 - [info] Starting flows
20 Apr 02:31:38 - [info] Started flows
20 Apr 02:31:38 - [info] serial port COM5 opened at 115200 baud 8N1
20 Apr 02:36:14 - [info] Stopping flows
20 Apr 02:36:14 - [info] serial port COM5 closed
20 Apr 02:36:14 - [info] Stopped flows
20 Apr 02:36:14 - [info] Starting flows
20 Apr 02:36:14 - [info] Started flows
20 Apr 02:36:14 - [info] serial port COM5 opened at 115200 baud 8N1
21 Apr 11:33:12 - [info] Stopping flows
21 Apr 11:33:12 - [info] serial port COM5 closed
21 Apr 11:33:12 - [info] Stopped flows
Terminate batch job (Y/N)? y
C:\Users\mohsi.node-red>node-red
21 Apr 11:33:44 - [info]
Welcome to Node-RED
21 Apr 11:33:44 - [info] Node-RED version: v1.0.5
21 Apr 11:33:44 - [info] Node.js version: v10.15.3
21 Apr 11:33:44 - [info] Windows_NT 10.0.18363 x64 LE
21 Apr 11:33:45 - [info] Loading palette nodes
21 Apr 11:33:47 - [info] Dashboard version 2.14.0 started at /ui
21 Apr 11:33:48 - [info] Settings file : \Users\mohsi.node-red\settings.js
21 Apr 11:33:48 - [info] Context store : 'default' [module=memory]
21 Apr 11:33:48 - [info] User directory : \Users\mohsi.node-red
21 Apr 11:33:48 - [warn] Projects disabled : editorTheme.projects.enabled=false
21 Apr 11:33:48 - [info] Flows file : \Users\mohsi.node-red\flows_W10SSD.json
21 Apr 11:33:48 - [info] Server now running at http://127.0.0.1:1880/
21 Apr 11:33:48 - [warn]
Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
21 Apr 11:33:48 - [info] Starting flows
21 Apr 11:33:48 - [info] Started flows
21 Apr 11:33:48 - [info] serial port COM5 opened at 115200 baud 8N1
At 11:33:12 - the server was not responding (so I thought)...because I was trying to connect using the normal IP address based url.
This morning, I can no longer access the editor or ui using the ip based url:
192.168.0.42:1880
I have to use the name:
w10ssd:1880 and w10ssd:1880/ui
Last night it worked perfectly:
Nothing has changed since last night.
For me that is not an issue but just thought I'd add it to the discussion.
I also checked the entire windows registry - node-red does not store the ip address there (or at least I could not find it).