1. Check the occupied ports.
netstat -tln
If the port number is known:
netstat -tln | grep 8080
2. Check which program is using this port number.
lsof -i :8080
3. Terminate this process.
kill -9 PID
1. Check the occupied ports.
netstat -tln
If the port number is known:
netstat -tln | grep 8080
2. Check which program is using this port number.
lsof -i :8080
3. Terminate this process.
kill -9 PID