Sunday, February 26, 2023

Finding processes using a port

On and off you may find that you cannot launch a process which needs a port when another process is using the same port. But it is difficult to identify this conflicting process. Here's a tip you can try: lsof -i: e.g. to see which process is using the port 1040 use lsof -i:1040