This is a great way to perform compatibility tests. I’ve done this many times.
In this case, the problem may be in two points:
Network card configuration in Virtualbox
I advise you to stay in gear bridge, that is, there is a simulation as if there were two network cards and the virtual machine participates in the network as a common machine, making the access configuration trivial.
General network configuration
Releasing the port through the firewall might not be enough. To take the test, do a quick test by disabling the firewall completely for a few moments.
Also, check if your network has any proxy or firewall that might be blocking the port.
If there is a domain server, also check that the virtual machine is configured properly.
It is also good to see if the IP of the virtual machine is conflicting with some other IP of another network user. Ping can be a false positive.
Also test if the system is accessible through another physical computer on the network.
Anyway, there could be a lot of problems. If none of this works, I suggest you better describe the scenario in your question, including the procedures performed and the result of each in detail (code, message and error print).
Thanks for the reply, I left in mode
bridge
and after that I disabled thefirewall
and nothing, how should I access through the browser? You have to configure something in theTomcat
also?– Macario1983
@Macario1983 In theory there is no need to configure anything in Tomcat. In general this is same network problem.
– utluiz
Got it! Problem was the address typed! Example of how it should be.
http://seuip:8080/site
– Macario1983
@Macario1983 Details, details. It always happens. Just note that this
site
is actually the context of the (Application Context), which should be used even when accessed locally.– utluiz
Thanks for the help, man, I didn’t explain to make it less specific, but that’s what I saw on
GUJ
.– Macario1983