I can''t start webrick from the command line. always have this error below. Some one help, please. C:\Users\imedia1\applica>ruby script/server => Booting WEBrick => Rails 2.3.5 application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server [2010-01-25 13:45:26] INFO WEBrick 1.3.1 [2010-01-25 13:45:26] INFO ruby 1.8.6 (2008-08-11) [i386-mswin32] [2010-01-25 13:45:26] WARN TCPServer Error: Only one usage of each socket address (protocol/network address/port) is normally permitted. - bind(2) Exiting C:/Ruby/lib/ruby/1.8/webrick/utils.rb:73:in `initialize'': Only one usage of each socket address (protocol/network address/port) is normally permitted. - bind( ADDRINUSE) from C:/Ruby/lib/ruby/1.8/webrick/utils.rb:73:in `new'' from C:/Ruby/lib/ruby/1.8/webrick/utils.rb:73:in `create_listeners'' from C:/Ruby/lib/ruby/1.8/webrick/utils.rb:70:in `each'' from C:/Ruby/lib/ruby/1.8/webrick/utils.rb:70:in `create_listeners'' from C:/Ruby/lib/ruby/1.8/webrick/server.rb:75:in `listen'' from C:/Ruby/lib/ruby/1.8/webrick/server.rb:63:in `initialize'' from C:/Ruby/lib/ruby/1.8/webrick/httpserver.rb:24:in `initialize'' from C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/ handler/webrick.rb:10:in `new'' from C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/ handler/webrick.rb:10:in `run'' from C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/commands/ server.rb:111 from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 31:in `gem_original_require'' from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 31:in `require'' from script/server:3 -- 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 this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
is IIS already installed? Regards, Pavan Agrawal On Wed, Jan 27, 2010 at 2:48 PM, kevid <alumsimportant-FFYn/CNdgSA@public.gmane.org> wrote:> I can''t start webrick from the command line. always have this error > below. Some one help, please. > > > > C:\Users\imedia1\applica>ruby script/server > => Booting WEBrick > => Rails 2.3.5 application starting on http://0.0.0.0:3000 > => Call with -d to detach > => Ctrl-C to shutdown server > [2010-01-25 13:45:26] INFO WEBrick 1.3.1 > [2010-01-25 13:45:26] INFO ruby 1.8.6 (2008-08-11) [i386-mswin32] > [2010-01-25 13:45:26] WARN TCPServer Error: Only one usage of each > socket address (protocol/network address/port) is normally permitted. > - bind(2) > Exiting > C:/Ruby/lib/ruby/1.8/webrick/utils.rb:73:in `initialize'': Only one > usage of each socket address (protocol/network address/port) is > normally permitted. - bind( > ADDRINUSE) > from C:/Ruby/lib/ruby/1.8/webrick/utils.rb:73:in `new'' > from C:/Ruby/lib/ruby/1.8/webrick/utils.rb:73:in > `create_listeners'' > from C:/Ruby/lib/ruby/1.8/webrick/utils.rb:70:in `each'' > from C:/Ruby/lib/ruby/1.8/webrick/utils.rb:70:in > `create_listeners'' > from C:/Ruby/lib/ruby/1.8/webrick/server.rb:75:in `listen'' > from C:/Ruby/lib/ruby/1.8/webrick/server.rb:63:in `initialize'' > from C:/Ruby/lib/ruby/1.8/webrick/httpserver.rb:24:in > `initialize'' > from C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/ > handler/webrick.rb:10:in `new'' > from C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/ > handler/webrick.rb:10:in `run'' > from C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/commands/ > server.rb:111 > from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > 31:in `gem_original_require'' > from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > 31:in `require'' > from script/server:3 > > -- > 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- 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 this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
kevid wrote:> I can''t start webrick from the command line. always have this error > below. Some one help, please. > > > > C:\Users\imedia1\applica>ruby script/server > => Booting WEBrick > => Rails 2.3.5 application starting on http://0.0.0.0:3000 > => Call with -d to detach > => Ctrl-C to shutdown server > [2010-01-25 13:45:26] INFO WEBrick 1.3.1 > [2010-01-25 13:45:26] INFO ruby 1.8.6 (2008-08-11) [i386-mswin32] > [2010-01-25 13:45:26] WARN TCPServer Error: Only one usage of each > socket address (protocol/network address/port) is normally permitted.Notice that error. It looks like something else is running on port 3000. Run Webrick on some other port. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/. -- 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 this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Open a command prompt from windows and run the following command: netstat This will show you what is currently open. -- Posted via http://www.ruby-forum.com/. -- 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 this group at http://groups.google.com/group/rubyonrails-talk?hl=en.