Loading...

STORIES

Say Ahoy and Adios to Processes on Your Ports

Got something running on your machine that is no longer required and want to free up the port? Here's how:

First, find the process, with its process identifier, running on say port 3000:

sudo lsof -i :3000

Then end it, with an example process id of 761:

sudo kill 761