Page 1 of 1

NAT/Port Fowarding: "Unknown configuration in port forw

Posted: 28. Aug 2008, 09:13
by SilkBC
Hi All,

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
I also ran the command to enumerate the settings, and this was the result:

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
However, when I start my "CK-ERP" VM, an error box with the following error pops up, and the VM fails to start:

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}
I have searched but not found anything that works. I am hoping someone here is able to provide some further assistance in resolving this issue.

Thanks, in advance :-)

-Alan

Posted: 28. Aug 2008, 11:25
by Sasquatch
What LAN adapter do you use for the Guest? If you use the PCNet, this behaviour is strange, but if you use one of the Intel models, this is not so strange, as it can't find a PCNet adapter on slot0.
Could you give some more information? See the Forum Posting Guide for what we need.

Posted: 28. Aug 2008, 13:14
by TerryE
... VBoxInternal/Devices/pcnet/0/LUN#0/Config/http/GuestProtocol" TCP
Unknown configuration in port forwarding.
That's because GuestProtocol is an unknown configuration option. If you check the manual, you will see that the option is Protocol (no Guest).

Posted: 28. Aug 2008, 14:13
by Sasquatch
Should have seen that one. Must have had something in my eye or I wasn't wearing my glasses :P.

Posted: 28. Aug 2008, 16:33
by SilkBC
TerryE wrote: That's because GuestProtocol is an unknown configuration option. If you check the manual, you will see that the option is Protocol (no Guest).
Oh dear, you are correct. As sasquatch said, I must have had somthing in my eyes :-)

Thanks! :-)

-Alan