Running Rails S with a fresh new application returns ERR_EMPTY_RESPONSE

I use Vagrant to run a Rails application, everything seems to be correct, but then when I create a test application, run the s rails and switch to localhost: 3000 I get ERR_EMPTY_RESPONSE and nothing loads. I get the following output when running s rails:

vagrant@rails-dev-box:~/projects/NewAppName$ rails s
=> Booting WEBrick
=> Rails 4.2.3 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
[2015-08-20 11:45:45] INFO  WEBrick 1.3.1
[2015-08-20 11:45:45] INFO  ruby 2.2.1 (2015-02-26) [i686-linux]
[2015-08-20 11:45:45] INFO  WEBrick::HTTPServer#start: pid=12075 port=3000

I already ran rake db: create && & rake db: migrate and created a controller for the root. Does anyone have an idea of ​​what might happen? Thanks.

+4
source share
1 answer

localhost , . rails s -b 0.0.0.0, IP (192.168.50.4:3000, ).

+8

All Articles