I tried to setup a Vagrant image for experiments with Node.js and Ghost. So 
I have done the following:


   - Started with a fresh image.
   - Installed node.js (from http://nodejs.org/download/, there Linux 
   binaries) and tested that it works.
   - Installed Ghost from http://docs.ghost.org/installation/linux/ and 
   finished the installation as described there.
   - Changed the port used in config.js.
   - Added forward port mapping in Vagrantfile config.vm.network 
   :forwarded_port, guest: 4080, host: 5080
   - Started Ghost with npm start.
   - Tested then in a Vagrant shell that Ghost was running: wget 
   127.0.0.1:4080 returned the created index.html
   - But when I tried to open the page in my host environment, Ghost does 
   not receive any request, there is no output at all, and the browser tells 
   me that the server is not available. The webpage at 
   *http://localhost:5080/* might be temporarily down or it may have moved 
   permanently to a new web address.
   - I even have tried to install a local browser in Ubuntu, and using it 
   with the address http://127.0.0.1:4080 works well. So Ghost is working.

My environment is:

   - Windows 7
   - Oracle VM Virtual Box 4.3.6
   - Vagrant 1.4.3

I have another Box running the same operating system, and on top of that 
Ruby on Rails, Passenger, ... and the port forwarding works there pretty 
well.

What could be the reason that the port forwarding does not work? Can I do 
anything to debug the current situation?

-- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to