0

I am running Apache Tomcat 8.5. After I start tomcat, I enter the address http://localhost/8080/ in the browser address bar but it gives me the following error :

Tomcat error

How do I solve this error and get tomcat running normally ?

iammrmehul
  • 730
  • 1
  • 14
  • 35

1 Answers1

0

The link(url) http://localhost/8080/ you are using to access the tomcat page is wrong.

It should be http://localhost:8080. Please try.

Avinash Reddy
  • 2,204
  • 3
  • 25
  • 44
  • Using http://localhost:8080 gives me an error "This site can't be reached" even though my internet is working fine. – iammrmehul Apr 07 '17 at 14:28
  • @iammrmehul : There are multiple points to be checked. U need to see if there is any other application is running on the same port 8080 . If you have oracle database installed it runs on 8080 port. Also in your tomcat conf folder you will have a file called server.xml. In that file check the entry for the following – Avinash Reddy Apr 07 '17 at 16:08
  • See what is the value of Connector port="" . Check whether it is 8080 or it has some other value. If it has some other value then you need to access it as follows http://localhost:portnumber – Avinash Reddy Apr 07 '17 at 16:15
  • Also there are multiple links to the same problem. Please check them. The following are the links http://stackoverflow.com/questions/21021136/tomcat-starts-but-home-page-cannot-open-with-url-http-localhost8080 – Avinash Reddy Apr 07 '17 at 16:18
  • http://stackoverflow.com/questions/10086242/cannot-open-http-localhost8080-when-tomcat-is-running-in-eclipse http://stackoverflow.com/questions/31189217/my-tomcat-is-running-but-i-cant-connect-to-http-localhost8080 – Avinash Reddy Apr 07 '17 at 16:18