Does somebody knows how to close a TCP or UDP socket for a single connection via windows command line?
Googling about this, I saw some people asking the same thing.
For instance you want to free the port 8080 Then, follow these commands.
netstat -ano taskkill /f /im [PID of the port 8080 got from previous command]
Done!