Northern Commander

Listening ports

A pane can list the ports on your Mac that something is listening on, and the process holding each. It answers “what is on port 3000?”.

KeyAction
Listening ports in the left paneListening ports in the left pane
Listening ports in the right paneListening ports in the right pane
EnterShow or hide other users' ports
F8Quit process
⇧F8Force quit process

Getting there

Listening ports is a row of the places list, and under Show here in each side’s menu of the menu bar: Listening ports in the left pane, Listening ports in the right pane.

What a row says

Column What it holds
Process The name of the process holding the port. Typing finds a row by it
Port The port number
Reachable from this Mac only, for programs on this Mac alone; other computers, in red, when they can reach it too unless a firewall stops them; or the one address it is on
PID The process’s number
Protocol TCP or UDP
User The account it runs as

The list is read again every few seconds. A pane too narrow for every column drops them from the right.

Whose, and in what order

  • The list starts with your own ports, lowest first. Enter on its last row (Enter) shows other users’ ports below a line, and on the same row hides them again. They are read from macOS only while they are shown.
  • ⌘F2 puts the rows in order by Port or by Process; choosing the same order again turns it around.

What the keys do

  • Enter goes inside the process holding the port.
  • F3 says what the port is by convention for, and what kind of address it is on.
  • F8 asks to quit the process, and ⇧F8 to force quit it. Another user’s process is refused with the reason: nothing here acts as an administrator.