php - PhpStorm + Vagrant + Symfony2 -


I want to display Symfony2 page using the Hobo Box. If I turn on the charge box (desired), and use the ssh command "php app / console server: run", then I see the information "server http://127.0.0.1:8000 is running on "and if I website" 192.168.33.10 "or" <127> 0 127.0.0.1 "or" <127> 127.0.0.1:8000 < / Code> "I'm going to the host machine

  In my bracket it has its main lines, so I can not see symfony2 site.  

Question: How properly configurable file configuration, which allows me to view the symfony2 site? file ... config.vm.box = "symfony-v0.2.0" config.vm.network "forwarded_port", Guest: 8000, Host: 80 config.vm.network "private_network", ip: " 192.168.33.10 "Configuration .vm.network" public_network "config.vm.synced_folder" ./ "," / var / www / ".... Add info: ==> Default: Increase shared folders ... Default: / var / www = & gt; C: / User / Wojtech / PhpstormProjects / DragonisProject / Symfony2Project Default: / vagrant = & gt; C: / User / Wojtech / PhpstormProjects / DragonisProject / Symfony2Project

remove line Config.vm.network "private_network", IP: "192.168.33.10" from the warranty file. Then start the server as a server in the form of php app / console server: run 0.0.0.0:8000 it listens to all IP addresses and it is http: // localhost as you have port 8000 sent to port 80 on the host machine.


Comments

Popular posts from this blog

c# - SignalR: "Protocol error: Unknown transport." when navigating to hub -

class - Kivy: how to instantiate a dynamic classes in python -

python - mayavi mapping a discrete colorbar on a surface -