linux list process running on port code example
Example 1: list process using port
sudo lsof -n -i :80 | grep LISTEN
Example 2: bash list process on port
sudo lsof -i:3000
#Just change the port 3000
sudo lsof -n -i :80 | grep LISTEN
sudo lsof -i:3000
#Just change the port 3000