This mean that port which is required for your application is already
using by your machine.

Yon need to kill this process either your can use

ruby script/server -p 1234

Then you can be able to run your application on http://localhost:1234

-- 
With Regards,
Rameshwar 





On 09/02/12 4:24 PM, "honey ruby" <emailtohoneyr...@gmail.com> 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.
>


-- 
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.

Reply via email to