cmd kill port utils batch windows code example
Example 1: kill port ubuntu
sudo kill -9 `sudo lsof -t -i:9001`
Example 2: stop kill network connection using cmd line
findstr :8080
sudo kill -9 `sudo lsof -t -i:9001`
findstr :8080