I am trying to use VirtualBox to do some testing on an application. I wish to run the VM using NAT networking, as the host is my laptop and it won;t always have network connectivity.
The app I am testing is web-based, so I need to open port 80. Following the instructions in the User Guide, I ran the following commands on the command line:
Code: Select all
$ VBoxManage setextradata "CK-ERP" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/http/GuestProtocol" TCP
$ VBoxManage setextradata "CK-ERP" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/http/GuestPort" 80
$ VBoxManage setextradata "CK-ERP" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/http/HostPort" 8015
Code: Select all
$ VBoxManage getextradata CK-ERP enumerate
VirtualBox Command Line Management Interface Version 1.6.2
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.
Key: GUI/SaveMountedAtRuntime, Value: yes
Key: GUI/LastWindowPostion, Value: 430,206,644,533
Key: GUI/Fullscreen, Value: off
Key: GUI/Seamless, Value: off
Key: GUI/AutoresizeGuest, Value: on
Key: GUI/LastCloseAction, Value: powerOff
Key: VBoxInternal/Devices/pcnet/0/LUN#0/Config/http/GuestProtocol, Value: TCP
Key: VBoxInternal/Devices/pcnet/0/LUN#0/Config/http/GuestPort, Value: 80
Key: VBoxInternal/Devices/pcnet/0/LUN#0/Config/http/HostPort, Value: 8015
Code: Select all
Unknown configuration in port forwarding.
VBox status code: -2805 (VERR_PDM_DRVINS_UNKNOWN_CFG_VALUES).
Result Code:
0x80004005
Component:
Console
Interface:
IConsole {d5a1cbda-f5d7-4824-9afe-d640c94c7dcf}
Thanks, in advance
-Alan