XP Host / Ubuntu guest port forwarding issue

Discussions related to using VirtualBox on Windows hosts.
Post Reply
icebattle
Posts: 2
Joined: 25. Sep 2009, 19:07
Primary OS: MS Windows XP
VBox Version: OSE Debian
Guest OSses: Ubuntu

XP Host / Ubuntu guest port forwarding issue

Post 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
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: XP Host / Ubuntu guest port forwarding issue

Post 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.
icebattle
Posts: 2
Joined: 25. Sep 2009, 19:07
Primary OS: MS Windows XP
VBox Version: OSE Debian
Guest OSses: Ubuntu

Re: XP Host / Ubuntu guest port forwarding issue

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

Re: XP Host / Ubuntu guest port forwarding issue

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