check for any process running on the same port by entering the command:
sudo ps -ef
You can find the process running on the respective node port, then kill the node by
kill -9 <node id>
If the problem still remains then just kill all the node
killall node