mac terminal stop application running at port code example Example: how to stop a port in macos kill -9 port