NAT/Port-forwarding doesn't work
Posted: 22. Dec 2008, 18:07
Host: Gentoo
Virtual-machine OS: Ubuntu 8.10 server
VM-name: appserver_alfresco_performance_test_training
Virtualbox version: 1.6.6
The VM's configuration:
I have used the commands in the manual for portforwarding. I want to be able to connect from my host machine to the JBoss install running inside the VM.
When I use Links in the VM: links http://localhost:8080, JBoss page shows up. When I use firefox on my host machine, http://localhost:8080, gives an error immediately. No firewall running inside VM nor on host.
What could be the problem?
Virtual-machine OS: Ubuntu 8.10 server
VM-name: appserver_alfresco_performance_test_training
Virtualbox version: 1.6.6
The VM's configuration:
Code: Select all
martin@martindesktop ~ $ VBoxManage showvminfo appserver_alfresco_performance_test_training
VirtualBox Command Line Management Interface Version 1.6.6
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.
Name: appserver_alfresco_performance_test_training
Guest OS: Ubuntu
UUID: a6178338-6d8d-403d-eeaa-3ab725b1ce90
Config file: /home/martin/.VirtualBox/Machines/appserver_alfresco_performance_test_training/appserver_alfresco_performance_test_training.xml
Memory size: 1024MB
VRAM size: 8MB
Boot menu mode: message and menu
ACPI: on
IOAPIC: off
PAE: on
Time offset: 0 ms
Hardw. virt.ext: on
State: running (since 2008-12-22T15:48:03.237000000)
Monitor count: 1
Floppy: empty
SATA: enabled
DVD: empty
NIC 1: MAC: 080027CB3505, Attachment: NAT, Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps
NIC 2: disabled
NIC 3: disabled
NIC 4: disabled
UART 1: disabled
UART 2: disabled
Audio: disabled (Driver: Unknown, Controller: Unknown)
Clipboard Mode: Bidirectional
Video mode: 720x400x0
VRDP: disabled
USB: disabled
USB Device Filters:
<none>
Available remote USB devices:
<none>
Currently Attached USB Devices:
<none>
Shared folders: <none>
VRDP Connection: not active
Clients so far: 0
Guest:
Statistics update: disabled
martin@martindesktop ~ $ Code: Select all
martin@martindesktop ~ $ VBoxManage getextradata "appserver_alfresco_performance_test_training" enumerate
VirtualBox Command Line Management Interface Version 1.6.6
(C) 2005-2008 Sun Microsystems, Inc.
All rights reserved.
Key: GUI/SaveMountedAtRuntime, Value: yes
Key: GUI/LastCloseAction, Value: powerOff
Key: GUI/LastWindowPostion, Value: 313,243,724,456
Key: GUI/Fullscreen, Value: off
Key: GUI/Seamless, Value: off
Key: GUI/AutoresizeGuest, Value: on
Key: VBoxInternal/Devices/pcnet/0/LUN#0/Config/jbossdefault/Protocol, Value: TCP
Key: VBoxInternal/Devices/pcnet/0/LUN#0/Config/jbossdefault/GuestPort, Value: 8080
Key: VBoxInternal/Devices/pcnet/0/LUN#0/Config/jbossdefault/HostPort, Value: 8080
Key: GUI/InfoDlgState, Value: 400,450,normal
martin@martindesktop ~ $ What could be the problem?