Problems running the Rails server with Vagrant

Asked

Viewed 264 times

0

I created a Xenial Xerus 64x box with Vagrant, installed rvm with Rails.

I am running the server in the VM quiet, I can access there by VM the Rails server running, but I cannot access from my local browser.

I had already used Vagrant other times but I could always 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.

1 answer

0

Rafael,

Already configured the ports in Vagrantfile?

config.vm.network :forwarded_port, guest: 3000, host: 3000

Browser other questions tagged

You are not signed in. Login or sign up in order to post.