Gayathri Ravi Gayathri Ravi - 9 months ago 75
Java Question

Tomcat Server Error - Port 8080 already in use

I received the following error while attempting to execute a Servlet program in Eclipse Mars EE.

'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).

What should I do to stop the process? I'm assuming that Tomcat 7 server must be stopped. How shall I do it if my operating system is Windows 8?

Error Screenshot:

error screen shot

Answer Source

If you want to regain the 8080 port number you do so by opening the task manager and then process tab, right click java.exe process and click on end process as shown in image attached.

screen shot