Killing a Background Process
On this page
Sending a dev build into the background and causing ports to stay bound is rage inducing. Here is a solution for you.
ps aux | grep "<COMMAND YOU RAN>"Find the Process ID using your port which is in column 2.
sudo kill -9 <PID>The common mistake is thinking you need to search for whichever process is using a specific port. That is not the way. Kill the very command you started.