Monday, 2 September 2019

Tomcat Server Error - Port 8080 already in use

Tomcat Server Error - Port 8080 already in use


Error:
'Starting Tomcat v8.0 Sever at localhost' has encountered a problem.
Port 8080 required by Tomcat v8.0 Server at localhost is already in use. There may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s).


Step 1: Find the process id that is using the port 8080

Command: netstat -ano | findstr 8080




Step 2: Open command prompt as administrator and kill the process

Command: taskkill /F /pid 2600