How can I access Windows Server 2008 from the host? [SOLVED]

Discussions related to using VirtualBox on Linux hosts.
Post Reply
SirronTM
Posts: 3
Joined: 5. Mar 2009, 13:30

How can I access Windows Server 2008 from the host? [SOLVED]

Post by SirronTM »

Hi,

I'm using VirtualBox 2.1.4 and I've got Windows Server 2008 Standard Edition installed as the guest OS, my host is Ubuntu 8.10.

For a university assignment, I need to use an ASP server, but the university's own one is unavailable outside of the university - where I will be doing the work.

I decided, therefore, to install Windows Server with the Application Server role installed, in a virtual machine. I would then connect to that with the host operating system and that would simulate having a separate ASP server somewhere (which is a requirement).

Now, I've got Windows Server set up, but I don't know how to access its pages from the host. I've got it set to use the NAT networking, as it is by default, but from what I can gather, that doesn't mean that the virtual machine will be visible to the host as a separate computer on the same local network (as I need it to be).

What should I do? I really need this to work, and I've tried online ASP hosting services but they were unreliable. I really would like it working this way. It has to be possible.

If it's going to be easier, I could set up a second virtual machine to act as the client - surely that would be on the same virtual network as Windows Server so the problem would be eliminated? Naturally I'd rather not do that unless I've got to.

Thanks in advance,

SirronTM
Last edited by SirronTM on 5. Mar 2009, 14:51, edited 1 time in total.
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Re: How can I access Windows Server 2008 from the host?

Post by TerryE »

Sirron, if you want to present guest services to other systems (including your host) without port forwarding then you need to use host interface networking. To do a fast connect between two guests use internal networking.

Hint: search the User guide for the bold phrases and read the sections on these topics.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
SirronTM
Posts: 3
Joined: 5. Mar 2009, 13:30

Re: How can I access Windows Server 2008 from the host?

Post by SirronTM »

Thanks very much for the replies, networking is my kryptonite. I read the manual, but I don't know where to go from here.

I've switched it to Host Networking and I've got it set to use "eth0" which it was set to initially. There's also an "eth1".

Windows Server says it has limited connectivity. What can I do to solve that? Is it because there's no DHCP server or something?
SirronTM
Posts: 3
Joined: 5. Mar 2009, 13:30

Re: How can I access Windows Server 2008 from the host?

Post by SirronTM »

That seems to be working now, I set it to Eth1.

I've got the IP address for the virtual machine, if I enter that into the web browser IN the virtual machine, it displays the default homepage.

If I enter it on the host, it doesn't connect.

Any ideas?

EDIT: No that was my proxy settings, it all works now, thanks for the help!
Post Reply