This doesn't seem to be a specific rails problem, you know?

If you're using ubuntu look here:
http://ubuntuforums.org/archive/index.php/t-183878.html

With:
sudo netstat -lpnAinet
you can find out which program is using port 3000



On 04/11/10 17:40, Michael Curry wrote:
After trying all things in : http://www.ruby-forum.com/topic/105271
I cannot find the pid of the clogger. So, I am still having trouble
clearing whatever is active on my localhost port 3000.

I can run on a different port "script/server -p 3001" .
But my OC would like to have all ports on my machine clean and usable.

Below is my error - please help.  Thanks!

When I try to start the server on typical 3000 port with "script/server"
(using mogrel) I get:

=>  Booting Mongrel
=>  Rails 2.3.8 application starting on http://0.0.0.0:3000
=>  Call with -d to detach
=>  Ctrl-C to shutdown server
Exiting
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/tcphack.rb:12:in
`initialize_without_backlog': Address already in use - bind(2)
(Errno::EADDRINUSE)
   from
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/tcphack.rb:12:in
`initialize'
   from
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:93:in
`new'
   from
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:93:in
`initialize'
   from
/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/handler/mongrel.rb:10:in
`new'
   from
/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/handler/mongrel.rb:10:in
`run'
   from
/Library/Ruby/Gems/1.8/gems/rails-2.3.8/lib/commands/server.rb:111
   from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
   from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
   from script/server:3



--
best regards
Bente Pieck

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