pkill process running on port code example
Example 1: kill port
sudo kill -9 $(sudo lsof -t -i:8080)
Example 2: debian kill open port
fuser -k 3000/tcp //will kill that process.
sudo kill -9 $(sudo lsof -t -i:8080)
fuser -k 3000/tcp //will kill that process.