Find process using a port

you can execute the following cmd to find the process which occupies a specific port in linux.

Copy
sudo lsof -i :<port_number> -t | xargs ps -o pid,user,cmd -p
« (Find disk usage sorted by size)(Top 10 tools you need as developer) »