How to access my local server on my VirtualBox virtual machine?

Posted by marcgg on Server Fault See other posts from Server Fault or by marcgg
Published on 2009-11-24T12:39:20Z Indexed on 2012/09/01 9:40 UTC
Read the original article Hit count: 261

Here's my setup:

  • I have a local server running on my machine (Mac OS, Snow Leopard). I can access it via my browser by doing

    localhost:3000

  • I have a virtual machine using Virtual Box running a windows XP. If I try to access using localhost:3000, it fails. Same thing if I use the ip of the Mac machine.

  • The virtual machine has access to the internet.

How can I access my local server in my virtual machine?

© Server Fault or respective owner

Related posts about Windows

Related posts about macosx