lsof -n -i4TCP:8080 <-- get process id of what you want to close sudo kill -9 processID <-- close desired process