xxxxxxxxxx
> wmic process where "caption = 'java.exe' and commandline like '%server-1.properties%'" get processid
ProcessId
6016
> taskkill /pid 6016 /f
xxxxxxxxxx
1
2
3
4
> wmic process where "caption = 'java.exe' and commandline like '%server-1.properties%'" get processid
ProcessId
6016
> taskkill /pid 6016 /f
xxxxxxxxxx
## check and kill used "ports"
netstat -ano | findstr :8080
taskkill /PID <yourid> /F