Testing environment locally -> Sharing Apache-MySQL-PHP

Discussions related to using VirtualBox on Mac OS X hosts.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Testing environment locally -> Sharing Apache-MySQL-PHP

Post by Perryg »

So what happens if you put 192.168.56.101 in the hosts browser address line?
matt neale
Posts: 21
Joined: 14. Jan 2010, 17:07
Primary OS: Mac OS X Leopard
VBox Version: OSE Debian
Guest OSses: XP SP3

Re: Testing environment locally -> Sharing Apache-MySQL-PHP

Post by matt neale »

Nothing... The browser searches for +/- 1min and then display the following message:

(Conection ran out of time, server 192.168.56.101 is taking too long to respond)

Image
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Testing environment locally -> Sharing Apache-MySQL-PHP

Post by Perryg »

OK if you can ping the guest (192.168.56.101) from the host, and then you can not connect to the web server, there must be a configuration error on the guest or the firewall is stopping you.
Are you sure that the host has an address in the same address range? 192.168.56.X
matt neale
Posts: 21
Joined: 14. Jan 2010, 17:07
Primary OS: Mac OS X Leopard
VBox Version: OSE Debian
Guest OSses: XP SP3

Re: Testing environment locally -> Sharing Apache-MySQL-PHP

Post by matt neale »

ping 192.168.56.101 from the host:

Image
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Testing environment locally -> Sharing Apache-MySQL-PHP

Post by Perryg »

Post the results of ifconfig -a from the host.
matt neale
Posts: 21
Joined: 14. Jan 2010, 17:07
Primary OS: Mac OS X Leopard
VBox Version: OSE Debian
Guest OSses: XP SP3

Re: Testing environment locally -> Sharing Apache-MySQL-PHP

Post by matt neale »

Image
matt neale
Posts: 21
Joined: 14. Jan 2010, 17:07
Primary OS: Mac OS X Leopard
VBox Version: OSE Debian
Guest OSses: XP SP3

Re: Testing environment locally -> Sharing Apache-MySQL-PHP

Post by matt neale »

RESOLVED... A wrong IP was defined in the Protocol Properties (TCP/IP) in windows XP. I should have set it to "automatic"
Check the solution on my blog: http://www.matthieuneale.com/archives/214
Post Reply