list all processes running on the different ports on debian server code example Example: find out which procses is using port linux sudo lsof -i: