Troubleshooting Steps to check whether the Tomcat server is runing or not?

Step1 : Check ps command output

#ps -ef | grep tomcat

Step2 : Check with nmap whether port 8080 is opened or not?

#nmap localhost

Step3 : Check with telnet command as shown in below by executing GET / HTTP/1.0 Host: localhost command once logged in to server at 8080 port.

#telnet localhost 8080 Trying 127.0.0.1… Connected to localhost.localdomain (127.0.0.1). Escape character is ‘^]’. GET / HTTP/1.0 Host: localhost

This command should output hte test tomcat page.

Enjoy the troubleshooting:)