how to stop a program that is running on a port code example
Example 1: windows kill port
netstat -ano | findstr :3001
taskkill /PID <yourid> /F
Example 2: stop localhost server
netstat -ano | findstr :yourPortNumber
tskill typeyourPIDhere
netstat -ano | findstr :3001
taskkill /PID <yourid> /F
netstat -ano | findstr :yourPortNumber
tskill typeyourPIDhere