首页 文章

VirtualBox:在主机浏览器中访问localhost:8080

提问于
浏览
0

我有这个PHP应用程序,我必须从Ubuntu打开它,因为它使用扩展 . 在应用程序文件夹中有应用程序指南文件,其中包含以下说明:

  • 安装VirtualBox

  • 打开VirtualBox并单击文件 - >导入设备 - >浏览目录文件208.ova-> import

  • 启动Ubuntu服务器

  • 使用给定的用户名和密码登录Ubuntu

  • 打开XAMPP并将此URL粘贴到浏览器中 localhost:8080

我已成功完成1-4 . 但是,当我尝试访问 localhost:8080 时,它赢得了't open. I have searched on google and some solutions say i have to use host-only adapter or NAT, but it doesn'工作 . 我的朋友在他的笔记本电脑上试了一下它的确有效我的主人是Windows 10.有人能帮帮我吗?

我是VirtualBox和Ubuntu的新手,请在新手级别上清楚解释:)

非常感谢你 .

1 回答

  • 0

    确保在启动XAMPP软件后执行以下操作:按下Apache的“操作”中的“开始” .

    如果你这样做但它仍然不起作用,你能告诉我们你的Apache日志文件中的最后一个条目吗?

相关问题