LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
Search this Thread
Old 05-14-2012, 12:57 PM   #1
Jean-Luc Besson
LQ Newbie
 
Registered: Jun 2009
Distribution: Ubuntu, Arch
Posts: 17

Rep: Reputation: 1
Question Access server running on localhost on host system through virtualbox guest OS


Hi everyone,

I am running:
Ubuntu 11.10. (Host)
Virtualbox 4.1.2
Windows XP SP3 (Guest)

I need to do some Internet Explorer 7 related CSS workarounds and can not browse files on localhost on the host system. It seems the server is not even recognized.

So far I have tried all the network adapters for the guest system and made the necessary changes in the Windows host file. None of it worked.

Does anyone of you have experience with this kind of problem?
Any help is appreciated.
 
Old 05-15-2012, 11:54 AM   #2
djsoundfx
Member
 
Registered: May 2008
Distribution: Gentoo, Ubuntu, RHEL, CentOS, BSD, Solaris
Posts: 81

Rep: Reputation: 23
Quote:
Originally Posted by Jean-Luc Besson View Post
Hi everyone,

I am running:
Ubuntu 11.10. (Host)
Virtualbox 4.1.2
Windows XP SP3 (Guest)

I need to do some Internet Explorer 7 related CSS workarounds and can not browse files on localhost on the host system. It seems the server is not even recognized.

So far I have tried all the network adapters for the guest system and made the necessary changes in the Windows host file. None of it worked.

Does anyone of you have experience with this kind of problem?
Any help is appreciated.
So just to clarify you're trying to allow the XP Guest to access a server that is running on the Ubuntu host? When you say browse files are these webpages that are being hosted on a webserver like apache on the ubuntu host?
If you can clear these up I'll see if I can help as I've done some work that is similar.
 
Old 05-15-2012, 11:57 AM   #3
Jean-Luc Besson
LQ Newbie
 
Registered: Jun 2009
Distribution: Ubuntu, Arch
Posts: 17

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by djsoundfx View Post
So just to clarify you're trying to allow the XP Guest to access a server that is running on the Ubuntu host?
Right.
Quote:
Originally Posted by djsoundfx View Post
When you say browse files are these webpages that are being hosted on a webserver like apache on the ubuntu host?
Also correct.

Thank you for your reply.
 
Old 05-15-2012, 04:19 PM   #4
djsoundfx
Member
 
Registered: May 2008
Distribution: Gentoo, Ubuntu, RHEL, CentOS, BSD, Solaris
Posts: 81

Rep: Reputation: 23
Great well first things first, just to double check are you able to access the webpages on the Ubuntu machine? Is it listening on the correct ports?
Code:
 netstat -anpt|grep httpd
Does your guest have connectivity at all (ie does it obtain an IP address can it connect to your internet)? Does this ip address match the subnet of the host (ie both are 192.168.1.x)? Then see if you can ping your host from your guest and vice versa? Also are you running iptables or another firewall?
Code:
 sudo iptables -L -n
If this is too basic to start out with let me know what you have tried and I'll try to catch up and skip what you've already tried.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Host Fedora14, Windows 7 is running as Virtualbox guest- Mic is not working on Guest mwaheed Linux - Virtualization and Cloud 1 10-20-2011 01:51 PM
[SOLVED] VirtualBox NAT to access Linux server as guest dashesy Linux - Virtualization and Cloud 2 09-25-2011 02:23 PM
64-bit VirtualBox host running a single 32-bit guest, good idea? FireRaven Linux - Virtualization and Cloud 10 04-03-2010 04:21 PM
How secure is windows XP running as a virtualBox guest on a Slackware 12.2 host garyg007 Slackware 6 03-30-2009 12:15 PM
VirtualBox Raw Access, Windows Host, Linux Guest Guitarist88 Linux - Newbie 2 11-14-2008 05:41 PM


All times are GMT -5. The time now is 03:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration