When doing development work on a Mac sometimes the process won’t close down correctly and will end up locking a port which will provide an error when you try and start it up again.
In order to kill a process on a specific port you first need to get its ID
lsof -i :7020
And then using that Port ID (PID) you can kill the process.
kill -9 <PID>