Error on initializeModbusTCPConnection at Startup

Hey Forum.

When i start up node red i get this message in the CMD. and i cant get acces to the node-red editor.

21 Dec 11:16:18 - [info] Starting flows
21 Dec 11:16:18 - [error] [modbustcp-read:8bd8adae.9507] TypeError: Cannot read property 'initializeModbusTCPConnection' of null
21 Dec 11:16:18 - [info] Started flows
21 Dec 11:16:18 - [red] Uncaught Exception:
21 Dec 11:16:18 - Error: listen EADDRNOTAVAIL: address not available
at Server.setupListenHandle [as _listen2] (net.js:1284:19)
at listenInCluster (net.js:1349:12)
at doListen (net.js:1488:7)
at processTicksAndRejections (internal/process/task_queues.js:81:21)

It seems to me that i get the port number wrong, and now i cant get back i to the editor and correct it.

How can i reset or delete this error?

Thanks i advance

if you start Node-RED from the command line using the --safe flag option it will start the editor but not run the flow - so you should then be able to edit and fix the flow before re-deploying.

Thanks dceejay, and for the quick responce. It worked :+1:.

Have a nice day

Please submit an issue on the node's github page. If it causes node-red to crash then that is a bug in the node, it should catch errors and deal with them appropriately.