stop mac from using a port on local code example Example: kill port in mac terminal sudo lsof -i :5955