Identify and stop the process that's listening on port 8080 or configure this application to listen on another port code example
Example 1: kill app at port
lsof -i:8080
kill $(lsof -t -i:8080)
kill -9 $(lsof -t -i:8080)
Example 2: windows stop process running on port 8080
netstat -ano | findstr <Port Number>
taskkill /F /PID <Process Id>
Example 3: kill process on port windows
netstat -ano | findstr "PORT_NUMBER"
taskkill /PID PORT_NUMBER /f
Example 4: how to listen to the process running in port 8080 and kill it
Steps to kill process running on port 8080 in Windows cmd/terminal,