Port Forwarding doesn't work
Posted: 20. May 2008, 21:49
Hi!
I am using Ubuntu 8.04 as Host and Xubuntu as Guest System...
On the VM installed the Apache Server and it works fine when call localhost on the guest system.
Because i also want to use the Server from my Host-System I have tried to portforeward port 80 by entering these commands into the commandline of my host-system:
But now when I enter "localhost:8080" in Firefox(on Host-System) nothing happens, PortScan also doesn't show this Port as open...
Did I something wrong oder did I forget something?
Sorry for my bad english! And thanks for your help!!!
Greetings Straightflush
I am using Ubuntu 8.04 as Host and Xubuntu as Guest System...
On the VM installed the Apache Server and it works fine when call localhost on the guest system.
Because i also want to use the Server from my Host-System I have tried to portforeward port 80 by entering these commands into the commandline of my host-system:
Code: Select all
alex@AlexLinux:~$ VBoxManage setextradata "Server" "VBoxInternal/Devices/pcnet/0/Lun#0/Config/apache/GuestPort" 80
VirtualBox Command Line Management Interface Version 1.6.0
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.
alex@AlexLinux:~$ VBoxManage setextradata "Server" "VBoxInternal/Devices/pcnet/0/Lun#0/Config/apache/HostPort" 8080
VirtualBox Command Line Management Interface Version 1.6.0
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.
alex@AlexLinux:~$ VBoxManage setextradata "Server" "VBoxInternal/Devices/pcnet/0/Lun#0/Config/apache/HostPort" 8080
VirtualBox Command Line Management Interface Version 1.6.0
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.
alex@AlexLinux:~$ VBoxManage getextradata "Server" enumerateVirtualBox Command Line Management Interface Version 1.6.0
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.
Key: GUI/LastCloseAction, Value: save
Key: GUI/LastWindowPostion, Value: 557,396,804,653
Key: GUI/Fullscreen, Value: off
Key: GUI/Seamless, Value: off
Key: GUI/AutoresizeGuest, Value: on
Key: GUI/SaveMountedAtRuntime, Value: yes
Key: VBoxInternal/Devices/pcnet/0/Lun#0/Config/apache/Protocol, Value: TCP
Key: VBoxInternal/Devices/pcnet/0/Lun#0/Config/apache/GuestPort, Value: 80
Key: VBoxInternal/Devices/pcnet/0/Lun#0/Config/apache/HostPort, Value: 8080
Did I something wrong oder did I forget something?
Sorry for my bad english! And thanks for your help!!!
Greetings Straightflush