Address already in use

I tried to start up my php server and got this error:

[Fri Dec 9 09:42:45 2016] Failed to listen on (reason: Address already in use)

Is this because I did not previously shut down the server correctly? How would I resolve it?

I was able to resolve this by killing the process.