Tomcat Service stops automatically after starting

Hi!

My Tomcat Service is Stopping automatically after starting. Please help resolve the issue.

Hi!
Check if port no 8005 is consumed by another service given in the below screenshot.

Open Command Prompt

Run command netstat -ano |findstr 8005

[https://support.automationedge.com/galleryDocuments/edbsn54f480f4c8fee525e024a203f5942c6774e573dd11684c897c8b50d4b898da807ae0eb2c1d78ba09f3dfb660764e4827b7fa0e92eed0d0d4657b06f339e6135f?inline=true]

Change the port number in server.xml file under apache-tomcat/conf/ location.

[https://support.automationedge.com/galleryDocuments/edbsn54f480f4c8fee525e024a203f5942c67935c1eb4292f48f05fc703bf3e5104a7011c2c56c558a5f22f3a604f2d3e69762ecad65413f258d37e01e8b21a508d3f?inline=true]

Start tomcat service.