TCPServer Error: Address already in use that error message claims you have already running some server on the same port as you're trying to run this on. cancel/shutdown other one or add "-p some_number" to run your server on different port
tom On Feb 9, 2012, at 11:54 , honey ruby wrote: > hi everyone i just typed ruby script/server -d and then after when i > type again it is not working. i got this error > > > [2012-02-09 16:19:54] WARN TCPServer Error: Address already in use - > bind(2) > Exiting > /usr/lib/ruby/1.8/webrick/utils.rb:73:in `initialize': Address already > in use - bind(2) (Errno::EADDRINUSE) > from /usr/lib/ruby/1.8/webrick/utils.rb:73:in `new' > from /usr/lib/ruby/1.8/webrick/utils.rb:73:in `create_listeners' > from /usr/lib/ruby/1.8/webrick/utils.rb:70:in `each' > from /usr/lib/ruby/1.8/webrick/utils.rb:70:in `create_listeners' > from /usr/lib/ruby/1.8/webrick/server.rb:75:in `listen' > from /usr/lib/ruby/1.8/webrick/server.rb:63:in `initialize' > from /usr/lib/ruby/1.8/webrick/httpserver.rb:24:in `initialize' > from /usr/lib/ruby/gems/1.8/gems/rack-1.1.3/lib/rack/handler/ > webrick.rb:10:in `new' > from /usr/lib/ruby/gems/1.8/gems/rack-1.1.3/lib/rack/handler/ > webrick.rb:10:in `run' > from /usr/lib/ruby/gems/1.8/gems/rails-2.3.8/lib/commands/server.rb: > 111 > from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require' > from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in > `require' > from script/server:3 > thanks in advance > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. -- =============================================================================== Tomas Meinlschmidt, MS {MCT, MCP+I, MCSE, AER}, NetApp Filer/NetCache www.meinlschmidt.com www.maxwellrender.cz www.lightgems.cz =============================================================================== -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.