how to release a port in mac terminal code example Example: release a port in mac sudo lsof -i :<port>