sudo lsof -i -P -n | grep <port number> # List who's using the port Then run sudo service <running service name> stop