Every now and then, a process is using a port. You can find which process is using a port by running:

lsof -i :[PORT]

The output also returns the process id, so you can quickly kill it (kill -9 ID).

Happy coding!