Several ports (8005, 8080, 8009) required by Tomcat Server at localhost are

Source: Internet
Author: User
Tags tomcat server

My resolution of this situation is shown in bold below.


Http://stackoverflow.com/questions/5064733/several-ports-8005-8080-8009-required-by-tomcat-server-at-localhost-are-alre


I ' m getting the following error when I try to run a simple JSP program on Tomcat in Eclipse.

Several ports (8005, 8080, 8009) required by Tomcat v6.0 Server at localhost are.

The server may already is running in another process, or a system process may is using the port.

To start this server you'll need to stop the other process or change the port number (s).


You ' ve Another instance of Tomcat already running. Can confirm this by going to http://localhost:8080

In your webbrowser and check if your get the Tomcat default home page or a tomcat-specific 404 the error page.

Both are equally valid evidence that Tomcat runs fine; If it didn ' t, then you would have gotten

A browser specific HTTP connection Timeout error message.

You are need to shutdown it. Go To/binsubfolder of the Tomcat installation folder and execute the shutdown.

Bat (Windows) or shutdown.sh (Unix) script. If in vain, close Eclipse and then open the Task Manager

And kill all Java and/or JAVAW processes. Or If you are actually installed it as a Windows service for some reason,

Open the Services Manager (Start > Run > Services.msc) and stop the Tomcat service.

Or If your actualintent is to run two instances of Tomcat simultaneously, then and have to configure

The second instance to listen on different ports. Consult the Tomcat documentation for more detail.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.