I am new to the development of Web Apps and Web Services. I am trying to install and run Apache tomcat on my local machine.
Here is what I did :
- Downloaded tomcat 8 (.tar) from apache's website
- Extracted the .tar package and pasted the folder in my home directory (I am working on Ubuntu 12.04)
Here are my terminal prints
ankit@ankit-HCL-Desktop:~/apache-tomcat-8.0.28/bin$ ./startup.sh
Using CATALINA_BASE: /home/ankit/apache-tomcat-8.0.28
Using CATALINA_HOME: /home/ankit/apache-tomcat-8.0.28
Using CATALINA_TMPDIR: /home/ankit/apache-tomcat-8.0.28/temp
Using JRE_HOME: /home/ankit/jdk1.7.0_79
Using CLASSPATH: /home/ankit/apache-tomcat-8.0.28/bin/bootstrap.jar: /home/ankit/apache-tomcat-8.0.28/bin/tomcat-juli.jar
Tomcat started.
Then I typed localhost:8080 in my browser but it displayed
Unable to connect
Firefox can't establish a connection to the server at localhost:8080.
After that I used catalina.sh
ankit@ankit-HCL-Desktop:~/apache-tomcat-8.0.28/bin$ ./catalina.sh start
Using CATALINA_BASE: /home/ankit/apache-tomcat-8.0.28
Using CATALINA_HOME: /home/ankit/apache-tomcat-8.0.28
Using CATALINA_TMPDIR: /home/ankit/apache-tomcat-8.0.28/temp
Using JRE_HOME: /home/ankit/jdk1.7.0_79
Using CLASSPATH: /home/ankit/apache-tomcat-8.0.28/bin/bootstrap.jar:/home/ankit/apache-tomcat-8.0.28/bin/tomcat-juli.jar
Tomcat started.
But still the same result in my broswer.
What am I doing wrong ?