一氧化二氮容器Ruby不会预览在端口 - Nitrous Container for Ruby won't preview on Port

- 此内容更新于:2016-02-02
主题:

我的RubyonRails氧化氮容器不能预览。我运行railss-b0.0.0.0,没有我的pid。对不起,如果这是一个基本的问题,我新Ruby。我得到以下错误消息……谢谢!

原文:

My Ruby on Rails Nitrous container won't preview. I'm running rails s -b 0.0.0.0 and there is nothing in my pids. Sorry if this is an elementary question, I'm new to Ruby.

I get the following error message... Thanks!

rails s -b 0.0.0.0
=> Booting Thin
=> Rails 4.2.2 application starting in development on     http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
Thin web server (v1.6.3 codename Protein Powder)
Maximum connections set to 1024
Listening on 0.0.0.0:3000, CTRL+C to stop
Exiting
/home/nitrous/embedded-app-example/.bundle/gems/eventmachine-1.0.7/lib/eventmachine.rb:526:in `start_tcp_server': no acceptor (port is in use or requires root
 privileges) (RuntimeError)
    from /home/nitrous/embedded-app-example/.bundle/gems/eventmachine-1.0.7/lib/eventmachine.rb:526:in `start_server'
    from /home/nitrous/embedded-app-example/.bundle/gems/thin-1.6.3/lib/thin/backends/tcp_server.rb:16:in `connect'
    from /home/nitrous/embedded-app-example/.bundle/gems/thin-1.6.3/lib/thin/backends/base.rb:63:in `block in start'
    from /home/nitrous/embedded-app-example/.bundle/gems/eventmachine-1.0.7/lib/eventmachine.rb:187:in `call'
    from /home/nitrous/embedded-app-example/.bundle/gems/eventmachine-1.0.7/lib/eventmachine.rb:187:in `run_machine'
    from /home/nitrous/embedded-app-example/.bundle/gems/eventmachine-1.0.7/lib/eventmachine.rb:187:in `run'
    from /home/nitrous/embedded-app-example/.bundle/gems/thin-1.6.3/lib/thin/backends/base.rb:73:in `start'
    from /home/nitrous/embedded-app-example/.bundle/gems/thin-1.6.3/lib/thin/server.rb:162:in `start'
    from /home/nitrous/embedded-app-example/.bundle/gems/rack-1.6.2/lib/rack/handler/thin.rb:19:in `run'
    from /home/nitrous/embedded-app-example/.bundle/gems/rack-1.6.2/lib/rack/server.rb:286:in `start'
    from /home/nitrous/embedded-app-example/.bundle/gems/railties-4.2.2/lib/rails/commands/server.rb:80:in `start'
    from /home/nitrous/embedded-app-example/.bundle/gems/railties-4.2.2/lib/rails/commands/commands_tasks.rb:80:in `block in server'
    from /home/nitrous/embedded-app-example/.bundle/gems/railties-4.2.2/lib/rails/commands/commands_tasks.rb:75:in `tap'
    from /home/nitrous/embedded-app-example/.bundle/gems/railties-4.2.2/lib/rails/commands/commands_tasks.rb:75:in `server'
    from /home/nitrous/embedded-app-example/.bundle/gems/railties-4.2.2/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
    from /home/nitrous/embedded-app-example/.bundle/gems/railties-4.2.2/lib/rails/commands.rb:17:in `<top (required)>'
    from bin/rails:4:in `require'