Tomcat Server Errror in Eclipse

[Closed]
Report
Posts
2
Registration date
Thursday October 25, 2012
Status
Member
Last seen
October 26, 2012
-
Posts
4476
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
August 2, 2020
-
Hello,
I am getting following error in my eclipse Tomcat server. Could anyone able resolve this issue.?

"Starting tomcatv6.0 server at localhost has encountered a problem
several port(8080,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);"

Regards

1 reply

Posts
4476
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
August 2, 2020
768
go to task mgr and see if under process, you see tom cat running. Kill that process and try again
no process running regarding tomcat. then you have any other options to solve this?
Posts
4476
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
August 2, 2020
768
Well other question would be do you have any other webserver running ? If that is the case you would want to change the port in server.xml
Posts
2
Registration date
Thursday October 25, 2012
Status
Member
Last seen
October 26, 2012

no other server is running
Posts
4476
Registration date
Thursday January 28, 2010
Status
Contributor
Last seen
August 2, 2020
768
this can give u process id
netstat -aon | findstr 8080

of all the PID listed u can use
then u can use this to find out which application is using it (in example i am saying that pid was 7104

tasklist | findstr 7104