从客户的VirtualBox进入虚拟主机(机器人86) [英] VirtualBox access virtualhost from guest (android x86)

查看:336
本文介绍了从客户的VirtualBox进入虚拟主机(机器人86)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个虚拟机在VirtualBox中采用Android 4.4操作系统作为(图片来自android-x86.org下载)。

I created a VM in VirtualBox with Android 4.4 as OS (image downloaded from android-x86.org).

我想用它来测试Web项目,存储在我的本地计算机(Mac OS X的10.9)上。在该机器上的Web服务器正在运行一个项目的URL可以project-xy.dev(虚拟主机)。

I wanna use it for testing web projects, stored on my local machine (Mac OS X 10.9). On that machine a web server is running and a project url could be project-xy.dev (virtual host).

我不能够在来宾操作系统中的浏览器访问这个网址。

I am not able to access this url in a browser of the guest OS.

是否有可能做到这一点?
它适用于Windows XP中的Parallels和与iOS模拟器。

Is it possible to do this? It works with Windows XP in Parallels and with iOS-Simulator.

谢谢,
克里斯托夫

Thanks, christoph

推荐答案

我不知道如果我完全理解你的问题。

I am not sure if I am understanding your question completely.

您试图通过主机来访问虚拟机上创建的项目,或者是你想访问通过VM主机上创建的项目。

Are you trying to access the project created on the VM through the host machine, or are you trying to access a project created on the host through the VM.

无论哪种方式,我将创建通过虚拟盒GUI共享驱动器

Either way I would create a shared drive through the Virtual Box GUI

如果你在这个共享文件夹或者机器上建立你的项目这样就可以访问它们。

That way if you create your projects in this shared folder either machine will be able to access them.

这篇关于从客户的VirtualBox进入虚拟主机(机器人86)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆