Question

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!

Was it helpful?

Solution 2

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

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top