check port 3000 in windows code example Example: kill service by port number on windows taskkill /F /PID PORT_NUMBER