FreeBSD on Virtual box ... can i test apache!?

just i ask about if i install freeBSD in vbox, can i test apache server from host os (windows)?
 
but how?? which address should i put in my browser?? localhost?? 127.0.0.1 ?? these do not work bcz they are in host os not guest (freebsd)!!
 
You put the IP address in your browser that the VM has. Think of the VM as a seperate machine.
 
you have freebsd[virtualbox] && windows[real]
for example:
windows have adress 192.168.0.1
freebsd[virtual box should have network сonnect host-interface] have adress 192.168.0.2
you put browser 192.168.0.2
clearly?
 
lMicROl said:
you have freebsd[virtualbox] && windows[real]
for example:
windows have adress 192.168.0.1
freebsd[virtual box should have network сonnect host-interface] have adress 192.168.0.2
you put browser 192.168.0.2
clearly?

how can i put the ip of virtual box as 192.168.0.2?
 
example )
925894e65510.jpg

and configuration freebsd:
ifconfig em0 inet 192.168.0.2/24
 
i have 192.168.56.2 in emo in freeBSD && 192.168.56.1 in VirtualBox Host-Only Network in windows ..i try to ping 192.168.56.2 from windows put it can not!
 
Turn off your firewall in Windows or configure it to accept traffic to/from that subnet as trusted.
 
SirDice said:
Turn off your firewall in Windows or configure it to accept traffic to/from that subnet as trusted.

i turned win firewall off, but the problem still !!
 
Don't use the Host-only Network.

Instead, use the Bridged Network option. This way, the VM is live, on the same network as the Windows box, and all your other computers. Then the VM will get an IP that exact same way that your Windows box does, and you can treat the VM just like any other computer on your network.
 
phoenix said:
Don't use the Host-only Network.

Agreed. Use the "Bridged Adapter" and then just select the correct (connected) adapter. Should be fine, provided you don't have a fascist for a DHCP admin.
 
Back
Top