Host-only network does NOT allow http access to guest ...

Discussions related to using VirtualBox on Linux hosts.
Post Reply
owkaye
Posts: 12
Joined: 13. Apr 2009, 09:39
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Ubuntu 8.04.4 server

Host-only network does NOT allow http access to guest ...

Post by owkaye »

I installed 2.2 as host on a fully upgraded PCLinuxOS 2009, then I installed Centos 4.7 as guest. After installing Guest Additions everything seemed to work EXCEPT the networking ...

I used "host-only network" specifically because I need to run a web server in Centos and access it from my PCLinux host. But even though I restricted the DHCP ip address range to only one value (192.168.56.101) in "File > Preferences > Network > DHCP Server" so I would know the precise ip address of the Centos guest, I still cannot retrieve any web pages from the Centos guest at that ip address when I browse from the host OS. Yes Apache is running properly and serving pages via localhost from the guest

Does anyone know if "host-only network" actually work?

It certainly doesn't work for me, so if it does work can you tell me what I need to do to get it working?
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: Host-only network does NOT allow http access to guest ...

Post by Sasquatch »

Works for me. Are you sure that your Apache is listening on all interfaces and IP addresses, and not just Localhost/127.0.0.1?
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.
owkaye
Posts: 12
Joined: 13. Apr 2009, 09:39
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Ubuntu 8.04.4 server

Re: Host-only network does NOT allow http access to guest ...

Post by owkaye »

Sasquatch wrote:Works for me. Are you sure that your Apache is listening on all interfaces and IP addresses, and not just Localhost/127.0.0.1?
No I'm not sure, how to I check this?
owkaye
Posts: 12
Joined: 13. Apr 2009, 09:39
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Ubuntu 8.04.4 server

Re: Host-only network does NOT allow http access to guest ...

Post by owkaye »

Never mind, it'w working now -- for no reason whatsoever I guess.

I spent 4-5 hours on this today and couldn't seem to get it working, but now all of a sudden it *is* working, even thought I didn't do anything but restart the guest like I've done 2-3 dozen times this afternoon.

Perhaps it just got tired of not working and decided to stop hassling me and work properly ... :)
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: Host-only network does NOT allow http access to guest ...

Post by Sasquatch »

owkaye wrote:
Sasquatch wrote:Works for me. Are you sure that your Apache is listening on all interfaces and IP addresses, and not just Localhost/127.0.0.1?
No I'm not sure, how to I check this?
That's something for the Apache forums, not VB. It's not in our scope of help to include client software settings, only for VB. But you got it working, that's something good. Still, check it's config.
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