Access application on a virtual machine with Tomcat server

Asked

Viewed 2,969 times

1

I’m not sure if I can ask here but come on, I have a demand because I want to test in this virtual machine the system in different browsers.

Problem I can’t access, someone already made this type of configuration?

I installed in the VM the Windows Xp with Internet Explorer 6. But I intend to do snapshots from other browsers to test.

I’m using the virtual box.

On the physical machine I use Windows 8.1 and I’ve already released port 8080 in the Windows firewall.

Could someone help me?

I have real and virtual machine IP and I can drip.

1 answer

1


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 the firewall and nothing, how should I access through the browser? You have to configure something in the Tomcat also?

  • 1

    @Macario1983 In theory there is no need to configure anything in Tomcat. In general this is same network problem.

  • Got it! Problem was the address typed! Example of how it should be. http://seuip:8080/site

  • @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.

  • Thanks for the help, man, I didn’t explain to make it less specific, but that’s what I saw on GUJ.

Browser other questions tagged

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