Page 1 of 1

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

Posted: 5. Mar 2009, 14:07
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

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

Posted: 5. Mar 2009, 14:17
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.

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

Posted: 5. Mar 2009, 14:18
by vbox4me2
Setup Host networking, see the manual.

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

Posted: 5. Mar 2009, 14:38
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?

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

Posted: 5. Mar 2009, 14:50
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!