Thursday, 24 August 2017

networking - VirtualBox NAT port forwarding on Ubuntu 64?

I have an Ubuntu 9.04 desktop 64-bit guest OS running on an Ubuntu 9.04 desktop 64-bit host OS (yes, the same OS). I'd like to run a web server on the guest and make it accessible through NAT on the host.


I (think I) followed the VirtualBox port forwarding instructions, but the guest/VM won't start after I do the configuration.


Here's the configuration that I ran:


VBoxManage setextradata "" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guesthttp/Protocol" TCP
VBoxManage setextradata "" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guesthttp/GuestPort" 80
VBoxManage setextradata "" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guesthttp/HostPort" 8080

Where is the name of the guest VM image.


The error looks like this:


enter image description here


The same error happens regardless of whether I run the configuration while the VM is running, or not running.


Guest additions are installed.


How do I properly configure the NAT port forwarding? What is causing this error?

No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...