Networking in Windows Host with Windows guest

Discussions related to using VirtualBox on Windows hosts.
Post Reply
morpheous32
Posts: 2
Joined: 26. May 2009, 03:17
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Windows 2003 Server

Networking in Windows Host with Windows guest

Post by morpheous32 »

Anyone know how can open some application running in my windows 2003 server guest in to my windows XP host, I try to reach some webapplication in my windows 2003 server guest.
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

Re: Networking in Windows Host with Windows guest

Post by Sasquatch »

You're not very clear on what you want to accomplish. If you want to access a website that's hosted on the Guest, then all you need to do is configure the Guest networking settings to Host-Only or bridged. The latter is preferred as it will allow the Guest to be like a normal machine on the network, but sometimes it doesn't work properly between Host and Guest. Host-Only is then the thing you need to use, but you will need a second NIC for internet in the VM.
One last thing you can use is NAT and forward some ports, as described in the manual.
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.
morpheous32
Posts: 2
Joined: 26. May 2009, 03:17
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Windows 2003 Server

Re: Networking in Windows Host with Windows guest

Post by morpheous32 »

Thanks, I tried with the port Forwarding in NAT mode, but It doesn´t work, It´s mean from Host can´t reach the web app in the guest.
I´ll try with the host mode only and the second NIC in the VM, It´s any special config to do this?
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

Re: Networking in Windows Host with Windows guest

Post by Sasquatch »

When you used NAT, how did you connect? You did use the Host IP address (or localhost) to get to the Guest on the forwarded port right? So if you forwarded port 8080 to 80 in the Guest, you use localhost:8080 to get to the Guest webserver.
For Host-Only, you have to make sure that you configured it in the VB settings. This is not done in the VM settings itself, you only select the attached NIC there.
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