Search code examples
javaeclipsetomcat7

Tomcat server stopped but eclipse says ports are still in use


I have stopped my Tomcat 7.0 server in Eclipse. When I go to the server view, it has confirmed that the tomcat server has stopped. Yet any time I try to run a new project on the Tomcat Server, I get the error

"Several Ports (8080, 8009) required by Tomcat v7.0 Server at localhost are already in use..." How do I get tomcat server to run my java project?


Solution

  • Go to localhost:8080 and see if you get a response.

    If so, try going to the /bin folder and running shutdown.sh(.bat depending on your OS).