I've beet trying to get it to work all day, and as of right now I have 1) Host-only network and 2) NAT
I installed XAMPP for Linux so I am sure Apache it is working etc.
This is what I get from ifconfig:
th5 Link encap:Ethernet HWaddr 08:00:27:47:1B:D1
inet6 addr: fe80::a00

fe47:1bd1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:20 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3744 (3.6 KiB) TX bytes:1836 (1.7 KiB)
eth6 Link encap:Ethernet HWaddr 08:00:27:B7:15:8C
inet addr:10.0.3.15 Bcast:10.0.3.255 Mask:255.255.255.0
inet6 addr: fe80::a00

feb7:158c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2290 errors:0 dropped:0 overruns:0 frame:0
TX packets:1808 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1702408 (1.6 MiB) TX bytes:158694 (154.9 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:550 errors:0 dropped:0 overruns:0 frame:0
TX packets:550 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:928779 (907.0 KiB) TX bytes:928779 (907.0 KiB)
I've been doing all that with Windows Firewall turned off, so it should not be a problem. Two things that I am not sure about are static ip (I dont have that, I only have a dynamic one) and DHCP (VB -> File -> Preferences -> Netwok -> "screwdriver" -> DHCP Server - I have this unchecked, when I check it all the fields amount to 0.0.0.0. I was trying to get DHCP servr and subnet mask from win cmd and figure out the other to, but for now I left it blank)
I was able to connect to XAMPP running on Windows from the Linux machine on VirtualBox, but not the other way. I am not sure if this is working now.
How about the opton of setting up ports in .VirtualBox/VirtualBox.xml
I've seen it done like that and it was suppose to work for somebody, like localhost:8888 etc. A lot of people also tell me that it needs to be set to Bridged, and it is actually working for somebody also:
http://www.youtube.com/watch?v=K40jFNBwyJI
Thank you.