Kill process running on port on Linux

Kill process using port:

kill -9 $(sudo lsof -n -i :<port> | grep LISTEN | awk '{print $2}')