Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9054787
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T13:46:29+00:00 2026-06-16T13:46:29+00:00

When I am trying to start Apache server from Eclipse, I am getting message

  • 0

When I am trying to start Apache server from Eclipse, I am getting message as:

Several ports (8085, 8009) required by Tomcat v6.0 Server at localhost are already in use. The server 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).

I find the ports are opened by any process by the OS using “netstat -an“

I found below data as listening.

TCP    0.0.0.0:8009           0.0.0.0:0              LISTENING
TCP    0.0.0.0:8080           0.0.0.0:0              LISTENING
TCP    0.0.0.0:8085           0.0.0.0:0              LISTENING
TCP    [::]:8009              [::]:0                 LISTENING
TCP    [::]:8080              [::]:0                 LISTENING
TCP    [::]:8085              [::]:0                 LISTENING

I don’t know whether this are useful process, or can I release this ports.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T13:46:31+00:00Added an answer on June 16, 2026 at 1:46 pm

    If tomcat is already running eclipse will report this. This could happen if eclipse crashed.

    If you only have one instance of tomcat on your machine

    Try stopping it

    bin/shutdown.sh
    

    or on windows

    bin/shutdown.bat
    

    and then restarting tomcat from eclipse.

    On linux

    You can verify those ports are in use by another tomcat (or the same one that is already running) with

    netstat -anp #running as the superuser the -p option will say what the process is
    

    You can then check the process table to cross reference the ports

    ps aux | grep java
    

    or

    ps aux | grep 1234 #replacing 1234 with the PID reported by netstat
    

    If it is tomcat and it won’t shutdown after running bin/shutdown.sh then you can kill it using the kill commmand.

    If you do have something else that is using those ports

    • edit conf/server.xml
    • change the ports that tomcat will use, try 6080, 6005, etc
    • start tomcat from eclipse again
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sorry my bad English. I am trying to start Apache HTTPD server from Java
I'm trying to start a Vagrant instance and getting the following message: Vagrant cannot
I'm trying to hide the Server header returned by Apache on every request, from
I am trying to import data from SQL server using DIH.I am getting below
I'm trying to start Derby in Network server mode from my Java application with
I'm trying to send an xml message to a server from a client app
I am trying to host two websites using Apache from the same Ubuntu server.
When trying to start my JUnit-Test out of Eclipse, I get a ClassNotFoundException. When
i am trying to start the Program D from the terminal, command in terminal
I am trying to start the main activity from inside a BroadcastReceiver. I dont

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.