How to access localhost on Virtualbox host machine

aliasbody

I created a virtual machine on Virtualbox with Ubuntu 12.04 only to install a LAMP solution and use it with my host machine, but I can't access the localhost using the ip (10.0.2.15) in the browser .

Is there any way to solve this problem ?

user61928

First you should change the Network adapater to Bridged (It seems you are choosing NAT)

enter image description here

Then you can give an ip to your guest machine other than 10.0.2.15 (or you can leave it if you want)

then open a browser from your host machine and type: ip-address-of-your-guest-machine/...

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Java

Addressing localhost from a VirtualBox virtual machine

From Dev

How to connect with host PostgreSQL from vagrant virtualbox machine

From Dev

How to access mysql running in docker container from host machine?

From Dev

Access localhost on VirtualBox IIS

From Dev

Access web server on VirtualBox/Vagrant machine from host browser?

From Dev

How to access Ruby on Rails Assets from a Host Machine

From Dev

No route to host. How to SSH from guest machine in virtualbox to host machine by bridged adapter?

From Dev

How to fix virtualbox's copy and paste to host-machine?

From Dev

From HVD -- can't access Angular app running on localhost on HOST machine

From Dev

In VirtualBox, how can I access host localhost from guest (Visual Studio Dev Server from IE7 testing VM)?

From Dev

How can I access a VirtualBox host-only network from outside the host machine?

From Dev

How to access Ruby on Rails Assets from a Host Machine

From Dev

No route to host. How to SSH from guest machine in virtualbox to host machine by bridged adapter?

From Dev

How do I access Virtualbox internal IP from host machine?

From Dev

How to fix virtualbox's copy and paste to host-machine?

From Dev

How to access localhost on Virtualbox host machine

From Dev

Allow VirtualBox machine to access IIS site on host machine

From Dev

VirtualBox guest machine as a nginx host

From Dev

How to access shared host files on virtual machine?

From Dev

How to access server running in VirtualBox from the host?

From Dev

How to access apache server running in virtualbox from host?

From Dev

Connect to the host machine from a VirtualBox guest OS?

From Dev

How can I access Apache (on VirtualBox guest) from host?

From Dev

How to access localhost from VirtualBox using a smartphone?

From Dev

BSOD on host machine when using virtualbox

From Dev

How to provide Internet access to HOST from GUEST in virtualbox

From Dev

Safely close virtualbox machine on host reboot

From Dev

Accessing VirtualBox localhost from host machine

From Dev

Can't access virtualbox guest's (ubuntu server) localhost from host's (windows) browser

Related Related

  1. 1

    Addressing localhost from a VirtualBox virtual machine

  2. 2

    How to connect with host PostgreSQL from vagrant virtualbox machine

  3. 3

    How to access mysql running in docker container from host machine?

  4. 4

    Access localhost on VirtualBox IIS

  5. 5

    Access web server on VirtualBox/Vagrant machine from host browser?

  6. 6

    How to access Ruby on Rails Assets from a Host Machine

  7. 7

    No route to host. How to SSH from guest machine in virtualbox to host machine by bridged adapter?

  8. 8

    How to fix virtualbox's copy and paste to host-machine?

  9. 9

    From HVD -- can't access Angular app running on localhost on HOST machine

  10. 10

    In VirtualBox, how can I access host localhost from guest (Visual Studio Dev Server from IE7 testing VM)?

  11. 11

    How can I access a VirtualBox host-only network from outside the host machine?

  12. 12

    How to access Ruby on Rails Assets from a Host Machine

  13. 13

    No route to host. How to SSH from guest machine in virtualbox to host machine by bridged adapter?

  14. 14

    How do I access Virtualbox internal IP from host machine?

  15. 15

    How to fix virtualbox's copy and paste to host-machine?

  16. 16

    How to access localhost on Virtualbox host machine

  17. 17

    Allow VirtualBox machine to access IIS site on host machine

  18. 18

    VirtualBox guest machine as a nginx host

  19. 19

    How to access shared host files on virtual machine?

  20. 20

    How to access server running in VirtualBox from the host?

  21. 21

    How to access apache server running in virtualbox from host?

  22. 22

    Connect to the host machine from a VirtualBox guest OS?

  23. 23

    How can I access Apache (on VirtualBox guest) from host?

  24. 24

    How to access localhost from VirtualBox using a smartphone?

  25. 25

    BSOD on host machine when using virtualbox

  26. 26

    How to provide Internet access to HOST from GUEST in virtualbox

  27. 27

    Safely close virtualbox machine on host reboot

  28. 28

    Accessing VirtualBox localhost from host machine

  29. 29

    Can't access virtualbox guest's (ubuntu server) localhost from host's (windows) browser

HotTag

Archive