Networking and tomcat

Discussions related to using VirtualBox on Windows hosts.
Post Reply
s2stefanie
Posts: 3
Joined: 25. Jun 2008, 12:17

Networking and tomcat

Post 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
Dest
Volunteer
Posts: 138
Joined: 11. Jan 2008, 17:03
Primary OS: MS Windows Vista
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 2000, Windows XP, Ubuntu, FreeBSD

Post 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
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post 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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply