solved Can't connect to Ubuntu Server Guest
Posted: 23. Feb 2009, 11:03
Hi,
I've tried several times to establish a port forwarding to connect a Ubuntu 8.04 Server as guest through NAT forwarding on a ubuntuo 8.04 Desktop host, but ending all the time without success! So I would like to get hints and tips from the forum!
Installation:
Host: Ubuntu desktop 8.04 with virtualbox 2.1.4
Guest: Windows XP, Ubuntu desktop 8.04 and Ubuntu server 8.04
Situation:
Windows and Ubuntu desktop running with hostinterface and no problem occurs. Ubuntu server running with hostinterface with no problems.
For establishing a test environment I would like to run the Ubuntu server in a dedicated area and I want to get connection from the host webbrowser to the Ubuntu server. If I use the hostinterface I can reach the Ubuntu server /Apache test page. But if I using NAT with port forwarding I can't reach the page.
For port forwarding I'm using following commands:
VBoxManage setextradata Server "VBoxInternal/Devices/pcnet/0/LUN#0/Config/serverhttp/Protocol" TCP
VBoxManage setextradata Server "VBoxInternal/Devices/pcnet/0/LUN#0/Config/serverhttp/HostPort" 3333
VBoxManage setextradata Server "VBoxInternal/Devices/pcnet/0/LUN#0/Config/serverhttp/GuestPortl" 80
I got no error message, but if I try to get connection to the server via webbrowser entry
10.0.2.15/3333 I got no response.
Any hint is welcome, please help me to solve the problem,
THANX
I've tried several times to establish a port forwarding to connect a Ubuntu 8.04 Server as guest through NAT forwarding on a ubuntuo 8.04 Desktop host, but ending all the time without success! So I would like to get hints and tips from the forum!
Installation:
Host: Ubuntu desktop 8.04 with virtualbox 2.1.4
Guest: Windows XP, Ubuntu desktop 8.04 and Ubuntu server 8.04
Situation:
Windows and Ubuntu desktop running with hostinterface and no problem occurs. Ubuntu server running with hostinterface with no problems.
For establishing a test environment I would like to run the Ubuntu server in a dedicated area and I want to get connection from the host webbrowser to the Ubuntu server. If I use the hostinterface I can reach the Ubuntu server /Apache test page. But if I using NAT with port forwarding I can't reach the page.
For port forwarding I'm using following commands:
VBoxManage setextradata Server "VBoxInternal/Devices/pcnet/0/LUN#0/Config/serverhttp/Protocol" TCP
VBoxManage setextradata Server "VBoxInternal/Devices/pcnet/0/LUN#0/Config/serverhttp/HostPort" 3333
VBoxManage setextradata Server "VBoxInternal/Devices/pcnet/0/LUN#0/Config/serverhttp/GuestPortl" 80
I got no error message, but if I try to get connection to the server via webbrowser entry
10.0.2.15/3333 I got no response.
Any hint is welcome, please help me to solve the problem,
THANX