I can access Tomcat by Lynx http://localhost:8080, but I can’t get it through the local Host browser

Asked

Viewed 531 times

1

I’m having a problem getting Tomcat accessed by http:// from anywhere.

For you to understand better:

I have a CENTOS 6.6 VM and in it I installed TOMCAT 7 and JAVA 7 I restarted Tomcat and if I try to access Tomcat page by Lynx as below works normal:

  lynx http://localhost:8080

However, if I try to access the Tomcat from my computer (by Chrome) as below, it doesn’t work

   http://ipAddress:8080

Could you help me understand why from the VM I can access Tomcat by http, but from a local machine I can’t access? They could help me to reverse this situation, ie what I need to configure and how to configure to get access to http by?

  • Could be your VM’s firewall

  • how can I solve this problem?

  • André, it is very difficult to help you without knowing exactly what you have already done and have more details about your environment: What kind of VM is this (Virtual Box?)? Is Guest open? Is the VM network adapter configured in nodo bridge or NAT? Are the machines that are trying to access the VM on the same network? Can you at least access the guest’s 8080 port from the host machine? How Connector is configured in server.xml Tomcat? And Apache, how are you getting into the game?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.