how to kill server at local host 5000 code example
Example 1: port already in use windows 10
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