Many of the Java developers frequently facing some problems with ports.
Ex: If JBoss server has started and closed accedentally without properly shutdown process , several processes will remain running on some ports which will causes Port Already binded kind of exceptions.
In that kind of situations, we can forcefully kill a process running on a port as follows:
1. get the PID of that process
2. kill the process
D:>taskkill /F /PID p_id