how to find a process running on a port in linux code example Example: find out which procses is using port linux sudo lsof -i: