NAT/Port Fowarding: "Unknown configuration in port forw

Discussions related to using VirtualBox on Linux hosts.
Post Reply
SilkBC
Posts: 4
Joined: 17. May 2008, 19:18

NAT/Port Fowarding: "Unknown configuration in port forw

Post 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
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post 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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post 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).
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

Should have seen that one. Must have had something in my eye or I wasn't wearing my glasses :P.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
SilkBC
Posts: 4
Joined: 17. May 2008, 19:18

Post 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
Post Reply