netstat -tulnap shows me what ports are in use. How to free up a port in Linux?
netstat -tulnap
Shutting down the computer always kills the process for me.