Cannot open localhost 8080 when Tomcat running Eclipse

Cannot open localhost 8080 when Tomcat running Eclipse

If you are facing trouble of not opening tomcat localhost http://localhost:8080 after server started from eclipse it means your server location is using workspace metadata not tomcat installation location.

  • To change this double click server it will open server overview as below:

Cannot open localhost 8080 when Tomcat running Eclipse

  • Here change server locations to Use Tomcat installation as below:

Cannot open localhost 8080 when Tomcat running Eclipse

Note: If you see server locations is disabled please use this tutorial to enable it.

  • Now start your tomcat from eclipse you could see http://localhost:8080 in browser:

 

Cannot open localhost 8080 when Tomcat running Eclipse

For more information about Apache tomcat please refer this link

Leave a Reply

Your email address will not be published. Required fields are marked *