Tomcat Port is already in use error


(App Shah) #1

There is a message from Arjmand Majeed: How to fix this Port already in use error for Apache Tomcat?

(App Shah) #2

Hi Arjmand - seems like an issue with tomcat process. You may have Tomcat already running in your desktop/laptop. Try killing existing process and you should be all good.

(Shruti Goel) #3


I am also getting same error. And I am not able to resolve it.
You have mentioned to kill the existing the process. But I was unable to find any such existing process.

Can anyone tell me how to resolve this problem.

(App Shah) #4

Hi @Shruti_Goel - are you running Tomcat on linux/mac or Windows?

If mac/linux then you could use below commands:

bash-3.2$ ps -ef | grep tomcat
  502 55589 55587   0  6:34PM ttys001    0:00.00 grep tomcat
bash-3.2$ kill -9 55589

If windows then

You could launch Task Explorer and search for Tomcat then right click on that and Kill Process.

Hope that helps. Let me know if that doesn’t work.

(App Shah) #5

Hi @Shruti_Goel - Also, I’ve updated tutorial with all detailed steps.

Hope that helps.

Copyright © 2018 Crunchify, LLC.  •  WordPress Services  •  Contact  •  Hosted at DiscourseHosting.