Page 1 of 1

XP Host / Ubuntu guest port forwarding issue

Posted: 25. Sep 2009, 19:17
by icebattle
Hi all

I'm trying to set up a web app on a Ubuntu guest machine (host is XP).

I will need to forward http traffic to the guest, so I'm using a variation of the ssh forwarding commands I used to set up ssh forwarding:

D:\Program Files\Sun\xVM VirtualBox>VBoxManage setextradata Ubuntu "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/HostPort" 2222
D:\Program Files\Sun\xVM VirtualBox>VBoxManage setextradata Ubuntu "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/GuestPort" 22
D:\Program Files\Sun\xVM VirtualBox>VBoxManage setextradata Ubuntu "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/Protocol" TCP

So, I want to do:

D:\Program Files\Sun\xVM VirtualBox>VBoxManage setextradata Ubuntu "VBoxInternal/Devices/pcnet/0/LUN#0/Config/http/HostPort" 8080
D:\Program Files\Sun\xVM VirtualBox>VBoxManage setextradata Ubuntu "VBoxInternal/Devices/pcnet/0/LUN#0/Config/http/GuestPort" 80
D:\Program Files\Sun\xVM VirtualBox>VBoxManage setextradata Ubuntu "VBoxInternal/Devices/pcnet/0/LUN#0/Config/http/Protocol" TCP

However, when I try to execute the first command I get the following response:

D:\Program Files\Sun\xVM VirtualBox>VBoxManage setextradata Ubuntu "VBoxInternal
/Devices/pcnet/0/LUN#0/Config/http/HostPort" 8080
VirtualBox Command Line Management Interface Version 3.0.4
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

ERROR: failed to create a session object!
ERROR: code Unknown Status 0x8007007F (0x8007007F) - Unknown Status 0x8007007F (
extended info not available)
Most likely, the VirtualBox COM server is not running or failed to start.

and there is also a popup with the following message:

"The procedure entry point SUPR3QueryVTxSupported could not be located in the dynamic link library VBoxRT.dll."

Any help would be appreciated.

Thanks
Wayne

Re: XP Host / Ubuntu guest port forwarding issue

Posted: 25. Sep 2009, 19:57
by Perryg
Make sure that you are actually in the directory that has the virtualbox files when you try to run VBoxManage or add that folder in the path statement of Windows so you can run it from anywhere.

Re: XP Host / Ubuntu guest port forwarding issue

Posted: 25. Sep 2009, 22:51
by icebattle
Hi again

I suspect something in the way Windows mangles permissions screwed up the install. Whatever...

In the end, it was easier to just add another host interface and be done with it. It gets me where I need to be for now.

thanks

Re: XP Host / Ubuntu guest port forwarding issue

Posted: 25. Sep 2009, 23:06
by Sasquatch
Do update your profile with the right VB version. It would be a miracle to get the OSE debian running on Windows :P. Set it to PUEL, as that's the one you download from the website.