In Eclipse IDE If you want to start tomcat server you need several ports like 8005, 8080, 8009.And tomcat won’t start If you see error message like Ports required by Tomcat Server at local host are already in use. It means that tomcat already be running in another process or system process.If you want to start this server you need to stop the process which is already using tomcat or need to change the port number.How to find which application is using tomcat server?
Go to Command Prompt and Type the following Command.
netstat –ona
It will show details like Protocol, Local Address, foreign Address, state and PID. In Local Address column look for the above Port Numbers and find the corresponding PIDs.Now you know the process IDs then either you to go Task Manager Kill the Corresponding Process or In Command prompt type the following command.
taskkill /pid typePIDhere
This problem is usually comes when anyone of the installed web applications started using tomcat during system startup.If the application is installed with admin privilege then you will get Access is denied error message so you need to logged on as admin user to kill the process.
