Problems running the rails server with vagrant

0

I created a Xenial Xerus 64x box with the vagrant, installed the rvm with rails.

I'm running the server on the quiet VM, I can access the VM rails running there, but I can not access from my local browser.

I had already used vagrant other times but I always managed to upload the application using rails s -b 0.0.0.0 and in my local browser I open localhost: 3000.

But this VM I created is not working.

    
asked by anonymous 19.01.2017 / 19:11

1 answer

0

Rafael,

Have you set the ports in Vagrantfile?

config.vm.network :forwarded_port, guest: 3000, host: 3000
    
01.02.2017 / 12:29