Today, I have come across a situation, where my node server existed unproperly and address has been blocked. Because of which, I am unable to run the node server on the same port.
System configuration
Running my node server on port 3000.Resolution
Windows Machine
We will first try to find whether the port has been still in listening mode.> netstat -ano | find "LISTENING" | find "3000"
When the above command returns result then take the last number (Process ID)
We will kill the process with the following command.
> taskkill /f /pid
Linux Machine
> netstat -nlp | grep :3000> kill -9
Now, you will be able to run the node server on the same port which has been blocked.
Please send your comments and feedback to psrdotcom@gmai.com