Hello, I want to start all over again with my project. So I deleted the directory and make the new project. But when I do rails s I see this error message : WARN TCPServer Error: Address already in use - bind(2) Exiting /usr/share/ruby/webrick/utils.rb:85:in `initialize'': Address already in use - bind(2) (Errno::EADDRINUSE) from /usr/share/ruby/webrick/utils.rb:85:in `new'' from /usr/share/ruby/webrick/utils.rb:85:in `block in create_listeners'' from /usr/share/ruby/webrick/utils.rb:82:in `each'' from /usr/share/ruby/webrick/utils.rb:82:in `create_listeners'' from /usr/share/ruby/webrick/server.rb:82:in `listen'' from /usr/share/ruby/webrick/server.rb:70:in `initialize'' from /usr/share/ruby/webrick/httpserver.rb:45:in `initialize'' from /home/roelof/.gem/ruby/1.9.1/gems/rack-1.4.1/lib/rack/handler/webrick.rb:10:in `new'' from /home/roelof/.gem/ruby/1.9.1/gems/rack-1.4.1/lib/rack/handler/webrick.rb:10:in `run'' from /home/roelof/.gem/ruby/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:265:in `start'' from /home/roelof/.gem/ruby/1.9.1/gems/railties-3.2.8/lib/rails/commands/server.rb:70:in `start'' from /home/roelof/.gem/ruby/1.9.1/gems/railties-3.2.8/lib/rails/commands.rb:55:in `block in <top (required)>'' from /home/roelof/.gem/ruby/1.9.1/gems/railties-3.2.8/lib/rails/commands.rb:50:in `tap'' from /home/roelof/.gem/ruby/1.9.1/gems/railties-3.2.8/lib/rails/commands.rb:50:in `<top (required)>'' from script/rails:6:in `require'' from script/rails:6:in `<main>'' How to solve this ? Roelof -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/iucv_WVlBRwJ. For more options, visit https://groups.google.com/groups/opt_out.
On Wed, Oct 10, 2012 at 11:05 AM, roelof <rwobben-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote:> Hello, > > I want to start all over again with my project. > So I deleted the directory and make the new project. > But when I do rails s I see this error message : > > WARN TCPServer Error: Address already in use - bind(2) > Exiting > /usr/share/ruby/webrick/utils.rb:85:in `initialize'': Address already in > use - bind(2) (Errno::EADDRINUSE) >The port (I guess) is already in use, maybe you''ve started rails before as a daemon or you have started it in another terminal. If you want to start 2 or more development servers in the same machine then use rails s -p PORT_NUMBER As default rails uses 3000, you can use 3001 for example. Javier Q -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
On Wed, Oct 10, 2012 at 12:05 PM, roelof <rwobben-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote:> WARN TCPServer Error: Address already in use - bind(2)That means you''ve got a Rails server (or something else using the same port) already running. You need to track that down and stop it before you can do anything else with that address and port. (If you''re not already comfy with Unix, the main commands you need to look at are ps and kill.) -Dave -- Dave Aronson, T. Rex of Codosaurus, LLC... aka Available Secret-Cleared Ruby/Rails Freelancer (NoVa/DC/Remote); see http://www.Codosaur.us/. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Thanks, I can now move forward on my project Roelof Op woensdag 10 oktober 2012 18:15:39 UTC+2 schreef Dave Aronson het volgende:> > On Wed, Oct 10, 2012 at 12:05 PM, roelof <rwo...-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org <javascript:>> > wrote: > > > WARN TCPServer Error: Address already in use - bind(2) > > That means you''ve got a Rails server (or something else using the same > port) already running. You need to track that down and stop it before > you can do anything else with that address and port. (If you''re not > already comfy with Unix, the main commands you need to look at are ps > and kill.) > > -Dave > > -- > Dave Aronson, T. Rex of Codosaurus, LLC... aka > Available Secret-Cleared Ruby/Rails Freelancer > (NoVa/DC/Remote); see http://www.Codosaur.us/. >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/eXOT8BcqrVAJ. For more options, visit https://groups.google.com/groups/opt_out.