Page 1 of 1

port forwarding with nginx on Ubuntu Server in VirtualBox

Posted: 29. Sep 2013, 14:35
by virtualboxer777
I have nginx running on Ubuntu Server (guest) in VirtualBox on Windows 7 (host)

I need to access the nginx webserver's localhost.

I'm assuming there's no way to do this directly from Ubuntu Server's terminal, because I probably need a browser to do this and there's no browser there.

So, I need to access the nginx webserver's localhost from the host's browser.

How do I configure NAT port-forwarding on VirtualBox to accomplish this?

Re: port forwarding with nginx on Ubuntu Server in VirtualBo

Posted: 29. Sep 2013, 15:27
by Perryg
shut down the guest, open the guest settings -> networking & click the advanced icon then the Port Forwarding icon. Add the proper port and save.