= Check what runs on a port (linux & macos) =

To determine what is running on a specific port, utilize the following lsof command:

$ sudo lsof -i :5150

The provided command demonstrates the processes running on port 5150. Simply modify it to your desired port.

Alternatively, you can employ this command and subsequently sift through the generated output:

$ sudo lsof -i -P

= References =