Kill all processes with a TCP connection on a specific port

fuser

fuser --kill {{port}}/tcp

click the source code to copy install fuser on any operating system with command-not-found.com