# How to free up a port on windows ?

2.92K views
0

0

Run the below command on windows to find the PID of the process that’s running on the port you want to free using the below command:-

netstat -ano | Findstr <portNo>

where portNo is the port which you want to free.

The above command will give an output like:-

TCP    127.0.0.1:3000         0.0.0.0:0              LISTENING       14140

The last column is the PID in the above example

Run the below command in windows command prompt to free the process there.