I know that node-red listen by default to 1880, and I don't want to change it. further, I have not changed any thing in settings.js.
At the beginning, I installed node-red-contrib-coap to try it then I deleted it.
after that, I installed CoAP server (txthing) and I worked with it, when I run node-red at the same time .. it shows error in the log like this ...
[info] Starting flows
29 Jan 09:24:25 - [info] Started flows
29 Jan 09:24:25 - [red] Uncaught Exception:
29 Jan 09:24:25 - Error: bind EADDRINUSE 0.0.0.0:5683
at Object._errnoException (util.js:1022:11)
nodered.service: Main process exited, code=exited, status=1/FAILURE
nodered.service: Unit entered failed state.
nodered.service: Failed with result 'exit-code'.
nodered.service: Service hold-off time over, scheduling restart.
Stopped Node-RED graphical event wiring tool.
Started Node-RED graphical event wiring tool.
29 Jan 09:24:30 - [info]
Welcome to Node-RED
when I executed this command ...
netstat -punta |grep 5683
udp 0 0 0.0.0.0:5683 0.0.0.0:* 1037/node-red
and I did it again after reboot
udp 0 0 0.0.0.0:5683 0.0.0.0:* 1186/node-red
could you help me to know what is the problem?