Replace <PortNumber> with the port that is already in use
$ lsof -i :<PortNumber>
Find the PID in the result from above and replace <PID> with that.
$ kill -9 <PID>
– Senior Fullstack Web Engineer
Replace <PortNumber> with the port that is already in use
$ lsof -i :<PortNumber>
Find the PID in the result from above and replace <PID> with that.
$ kill -9 <PID>