xxxxxxxxxx
lsof -i :8080 //returns the PID (process id) that runs on port 8080
kill 1234 //kill the process using PID (used dummy PID here)
lsof -i :8443
kill 4321
xxxxxxxxxx
netstat -ona | findstr :8080 | findstr LISTENING
Code language: Bash (bash)
taskkill /PID 25321 /F
xxxxxxxxxx
lsof -i :8080 //returns the PID (process id) that runs on port 8080
kill 1234 //kill the process using PID (used dummy PID here)
lsof -i :8443
kill 4321
xxxxxxxxxx
//find the pid of that running in port 8080
netstat -ano | findstr 8080
//then run powershell as administrater
taskkill /F /T /PID <pid>
xxxxxxxxxx
netstat -ona | findstr :8080 | findstr LISTENING
Code language: Bash (bash)
taskkill /PID 25321 /F