Server Fault is a question and answer site for system and network administrators. 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

Tomcat won't start, and it has worked perfectly before. I suspect something else is running on port 8080. I am running Windows Vista. How do I check that nothing else is using port 8080.

I have recently downloaded several versions of Jetty. Could this be the problem. I am not running them concurrently so I can't see how.

share|improve this question
up vote 7 down vote accepted

Open up a command prompt and run

netstat -ano | findstr 8080

Rightmost column is PID

In task manager you can add column for PID then find the app that is using the port.

share|improve this answer
use | findstr 8080 or | findstr LISTENING to filter the netstat output – radius Jul 21 '09 at 16:48

I think you can run cmd as administrator and use netstat command to see if port 8080 is being used. Use netstat /? for help with netstat command. I do not know any GUI based approach for the same.

share|improve this answer

This can be done easily using the netstat utility.

share|improve this answer

use NETSTAT in a command prompt.

Wikipedia also lists the parameters.

share|improve this answer

In addition to netstat you can also use Process Hacker or ActivePorts to view open ports in real-time (ok, specific refresh intervals...)

share|improve this answer

Try this command:

netstat -aon | findstr "8080"

This command will give process ID's. Then go to task manager and stop the process with this process id and then restart tomcat.

share|improve this answer
telnet localhost 8080

If you can connect, then something's listening on the port.

share|improve this answer
Tomcat could be listening just on internal / external interface and not on all / loopback interface. This test is not perfect. – Saurabh Barjatiya Jul 21 '09 at 16:42
also, a port is not necessarily available just because there is no application properly accepting connections. – Jan Jungnickel Jul 21 '09 at 16:48

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.