This happens sometimes, as @sova suggested. It happens to me sometimes, EADDR is in use. Typically, in the background, a terminal window is hidden that still starts the application. And it is also with me.
It happens when you open the terminal for a long time, yes, you are right, you stopped the process. But sometimes it did not stop in the background. The best solution is that you close the terminal and run it again. He will solve your problem. because in my case it works.
Besides,
sudo lsof -i:<PORT_NO>
close the instance for the current time, but could not stop the process in the background. So, at a time
sudo kill <PID>
works, but again, when we update our code and save it, this problem arises again, as when using Nodemon .
Thus, exit from the terminal will solve the problem. OR
killall -9 node
source share