Can't set up web server on Guest Fedora 10
Posted: 25. May 2009, 05:09
Hi all,
I am using XP on Host and installed Fedora 10 on Guest. My XP host web server is successfully configured and can be accessed using free domain name. The Fedora 10 Guest web server is also configured and can be accessed on Guest web browser by using http://localhost.
I used NAT in virtualbox and I tried the port forwarding command as follow.
VBoxManage setextradata "virtual core" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/Protocol" TCP
VBoxManage setextradata "virtual core" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/GuestPort" 22
VBoxManage setextradata "virtual core" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/HostPort" 2222
VBoxManage setextradata "virtual core" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guesthttp/Protocol" TCP
VBoxManage setextradata "virtual core" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guesthttp/GuestPort" 80
VBoxManage setextradata "virtual core" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guesthttp/HostPort" 8888
After running these commands, I can use putty(ssh) on XP Host to access Fedora Guest. However, I still cannot access Fedora Guest by typing http://localhost:8888 on XP host. I didn't enable firewall in XP and I am using F-secure as Anti-virus agent. Can anyone tell me how to solve it? Thanks!
I am using XP on Host and installed Fedora 10 on Guest. My XP host web server is successfully configured and can be accessed using free domain name. The Fedora 10 Guest web server is also configured and can be accessed on Guest web browser by using http://localhost.
I used NAT in virtualbox and I tried the port forwarding command as follow.
VBoxManage setextradata "virtual core" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/Protocol" TCP
VBoxManage setextradata "virtual core" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/GuestPort" 22
VBoxManage setextradata "virtual core" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/HostPort" 2222
VBoxManage setextradata "virtual core" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guesthttp/Protocol" TCP
VBoxManage setextradata "virtual core" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guesthttp/GuestPort" 80
VBoxManage setextradata "virtual core" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guesthttp/HostPort" 8888
After running these commands, I can use putty(ssh) on XP Host to access Fedora Guest. However, I still cannot access Fedora Guest by typing http://localhost:8888 on XP host. I didn't enable firewall in XP and I am using F-secure as Anti-virus agent. Can anyone tell me how to solve it? Thanks!