how to terminate local host on terminal 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