Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can anyone help me to solve the following case?

I am trying to generate my first web site using java and working with Eclipse Galileo running on Ubuntu 9.10. Since I generate my first lines of code I haven't seen the web. All the time when I try to run the program I get the following error:

Several ports (8080, 8080) 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).

share|improve this question

Probably, you have another Tomcat instance running and using the same port. Try this command in the terminal .

kill $(ps -aef | grep java | grep apache-tomcat-7.0.27 | awk '{print $2}')

Then try to restart the Tomcat again.

Alternatively, You can try to /bin subfolder of the Tomcat installation folder and execute the (Unix) script. If in vain, close Eclipse and then open the System manager and kill all java and/or javaw processes.

Ref : Same problem with perfect solutions.. Next time when you encounter such errors, just copy and paste the error in Google. There are similar/identical problems solved. You get the idea. =]

share|improve this answer

If you are starting tomcat from within eclipse, you can change the port tomcat runs on from 8080, to say 8070 or 8090 by editing the server.xml file.

<Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.