Page 1 of 1

Networking and tomcat

Posted: 9. Oct 2008, 16:28
by s2stefanie
Hi,
I am using Virtualbox for a whlie. I have WindowsXP as Host and Ubuntu as guest.
i am programming using java and tomcat (Web applications). Because i only have one PC, and want to try my Webapplication in a network, and i want to do it using VirtualBox.

Here is what i want:
on my guest (Ubuntu) i installed tomcat and i tested it only on Ubuntu (http://localhost:8080). Now i want to test tomcat server from windows (host).

here is what i have done:
- under virtualbox under Network, and for ubuntu, i added a hostinterface.
- under windowsxp i linked with bridging my hostinterface and my Lan.
- i started tomcat in Ubuntu, tried to test it from winxp: it doesnt work
- i tried to ping ubunto fron winxp and winxp from ubuntu, it didnt work.

can someone tell me, what did i did wrong? and how can i fix this?

Thank you in advance

Posted: 9. Oct 2008, 16:30
by Dest
check and see what your IP address is being set to on the HIF both locally and in the vbox

also make sure your firewalls aren't blocking access. Firewalls are usually the cause of about 80% of issues

Posted: 9. Oct 2008, 22:53
by Sasquatch
If you are pinging by computer name, that won't work. They don't exchange their network name to each other. This is only done if both systems are known by the DNS server, and by default, nobody has a DNS server at home.