stop a process running on a port linux code example
Example 1: kill port
netstat -aon | findstr 8080
taskkill /f /pid 77777
Example 2: kill a process at a port
fuser -k 8080/tcp
netstat -aon | findstr 8080
taskkill /f /pid 77777
fuser -k 8080/tcp