how to stop a port from running using the terminal code example Example: release a port in mac sudo lsof -i :<port>