how to stop listening on all ports in the terminal code example Example: how to stop a port in macos kill -9 port