apache - unable to connect to localhost:8080 with Vagrant and Ubuntu -


I tried to install Ugrant and Ubuntu on Mac OS 10.9.4, from which the local development server @fideloper:. Vagrantfile includes:

  config.vm.box = "ubuntu / trusty64" config.vm.network "forwarded_port", Guest: 80, Host: 8080 config Vm.synced_folder ".", "/ Var / www / html"  

Evreything worked fine during the process: Frequency and Virtualbox installed, Apache is installed on the guest

, I tried

  • On guest, Code> curl-v 'http: // localhost: 8080' gives the same page.

But the browser says this webpage is not available at localhost: 8080

Why is not the browser showing localhost: 8080?

Settings:

  config.vm.synced_folder "." Whatever is in the server's  / var / www / html  directory, with the  of your host machine, whatever is in the "/ var / www / html"  < / Pre> 

will be overwritten directory (shared directory).

Now the default index.html file is not on HTML / code because you have that in the Wishent sync-folder settings Place your shared directory on the mount.

Whatever you are saying, it's working perfectly and you can just start adding your own .html files to your shared folder and go! You do not have a .html file in your shared directory for the service, so fall back to showing Apache's index of files.


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -