views:

33

answers:

2

I am running Ubuntu on my workstation, and headless Ubuntu Server in VirtualBox on this same workstation.

I'd like to write a web app and deploy it on Ubuntu Server in the VM, then load it in a web browser on my workstation.

Is this possible, and if so how? Thanks!

A: 

Found the answer: Change the Virtual Box -> Settings (for the guest OS) -> Network -> Attached to: Bridged Adapter.

Kurtosis
A: 

If you want to keep NAT, you can use port forwarding, see this, exchange the ports to 80 and 8888 (or something) to do the same for HTTP.

Nils Weinander