code: 'EADDRINUSE', [0] errno: 'EADDRINUSE', [0] syscall: 'listen', [0] address: '::', [0] port: 5000

C
killall -9 node
//You can check if it worked with the following command
ps ax
Source

Also in C: