I made an amazing CLI utility for this! Simply add this to your .bashrc or .zshrc file:
alias portkill='function killit(){kill -9 "$(lsof -t -i:$1)" &>/dev/null || true};killit'
then run portkill PORT
alias portkill='function killit(){kill -9 "$(lsof -t -i:$1)" &>/dev/null || true};killit'
then run portkill PORT