ps show port open code example
Example 1: find out which procses is using port linux
sudo lsof -i:<port_number>
Example 2: lsof port
$ lsof -i :port
# ex. lsof -i :3000
sudo lsof -i:<port_number>
$ lsof -i :port
# ex. lsof -i :3000