virtualbox - (SOLVED) Running symfony 2 on Virtual Box Ubuntu -
can explain me how localhost part applies when using virtual machine run symfony 2? example (source: https://symfony.com/doc/master/book/installation.html#running-the-symfony-application): when see following on command prompt:
and enter browser on host client, entered http://localhost:8000, page not found. when enter puphpet virtual host in browser however, var/www/index.html loaded correctly.
symfony 2 installed on virtual machine.
how can make symfony('s default template) visible on browser? did forget something, missing or should read something?
edit: $_server['remote_addr'] returned 192.168.56.1 instead of 192.168.56.101.
when trying open http://localhost:8000 on host browser calls localhost open page. check ip address of vm (ifconfig) on host machine call: vm_ip_address:8000.
Comments
Post a Comment