Ruby on Rails Thursday, December 26, 2013

You are attempting to start another servr at the same port as one which
is already running. You need to find and kill the one before you can
run another.

On 12/26/2013 09:41 PM, pavey nganpi wrote:
> rails server
> => Booting WEBrick
> => Rails 4.0.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
> [2013-12-26 23:29:07] INFO WEBrick 1.3.1
> [2013-12-26 23:29:07] INFO ruby 2.0.0 (2013-11-22) [i386-mingw32]
> [2013-12-26 23:29:07] WARN TCPServer Error: Only one usage of each
> socket address (protocol/network address/po
> rt) is normally permitted. - bind(2)
> Exiting
> C:/Ruby200/lib/ruby/2.0.0/webrick/utils.rb:85:in `initialize': Only
> one usage of each socket address (protocol/
> network address/port) is normally permitted. - bind(2)
> (Errno::EADDRINUSE)
> from C:/Ruby200/lib/ruby/2.0.0/webrick/utils.rb:85:in `new'
> from C:/Ruby200/lib/ruby/2.0.0/webrick/utils.rb:85:in `block
> in create_listeners'
> from C:/Ruby200/lib/ruby/2.0.0/webrick/utils.rb:82:in `each'
> from C:/Ruby200/lib/ruby/2.0.0/webrick/utils.rb:82:in
> `create_listeners'
> from C:/Ruby200/lib/ruby/2.0.0/webrick/server.rb:132:in `listen'
> from C:/Ruby200/lib/ruby/2.0.0/webrick/server.rb:113:in
> `initialize'
> from C:/Ruby200/lib/ruby/2.0.0/webrick/httpserver.rb:45:in
> `initialize'
> from
> C:/Ruby200/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:11:in
> `new'
> from
> C:/Ruby200/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/handler/webrick.rb:11:in
> `run'
> from
> C:/Ruby200/lib/ruby/gems/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:264:in
> `start'
> from
> C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.0.2/lib/rails/commands/server.rb:84:in
> `start'
> from
> C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.0.2/lib/rails/commands.rb:76:in
> `block in <top (req
> uired)>'
> from
> C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.0.2/lib/rails/commands.rb:71:in
> `tap'
> from
> C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.0.2/lib/rails/commands.rb:71:in
> `<top (required)>'
> from bin/rails:4:in `require'
> from bin/rails:4:in `<main>'
> --
> You received this message because you are subscribed to the Google
> Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to rubyonrails-talk+unsubscribe@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/6ec496cd-cd69-4ef7-a82e-7d766e7b0362%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/52BD1082.3020009%40earthlink.net.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment