According to the port number, query the process ID
- netstat -ano |findstr 8080
According to the process ID, query the corresponding program name 2. tasklist|findstr process ID
kill corresponding program 3. taskkill -f -t -im javaw.exe
According to the port number, query the process ID
According to the process ID, query the corresponding program name 2. tasklist|findstr process ID
kill corresponding program 3. taskkill -f -t -im javaw.exe