# Problem Starting Mongrel

**URL:** <https://www.ruby-forum.com/t/problem-starting-mongrel/153004>\
**Category:** Mongrel\
**Created:** [November 11, 2008, 1:48am UTC](https://www.ruby-forum.com/t/problem-starting-mongrel/153004 "2008-11-11T01:48:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chandu4ruby](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/df788c/32.png) [@chandu4ruby](https://www.ruby-forum.com/u/chandu4ruby)\
**Post date:** [November 11, 2008, 1:48am UTC](https://www.ruby-forum.com/t/problem-starting-mongrel/153004/1 "2008-11-11T01:48:29Z")

</div>

Hi, I am newbie started learning ruby on rails i had an application  
which used to run pretty well  
latter i upgraded from webbrick to mongrel 1.1.5 then I am getting the  
foloowing errors and a default application runs on port 3000 i have  
attached its screen shot as an attachement and error which i get in  
terminal below

=\> Booting Mongrel (use ‘script/server webrick’ to force WEBrick)  
=\> Rails application starting on [http://0.0.0.0:3000](http://0.0.0.0:3000)  
=\> Call with -d to detach  
=\> Ctrl-C to shutdown server  
\*\* Starting Mongrel listening at 0.0.0.0:3000  
Exiting  
/Library/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 /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel/tcphack.rb:12:in `initialize’  
from /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:93:in  
`new' from /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:93:in `initialize’  
from  
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:139:in  
`new' from /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:139:in `listener’  
from /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/bin/mongrel\_rails:99:in  
`cloaker_' from /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:50:in `call’  
from  
/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:50:in  
`initialize' ... 14 levels... from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/commands/server.rb:39 from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `gem\_original\_require’  
from /Library/Ruby/Site/1.8/rubygems/custom\_require.rb:27:in `require’  
from ./script/server:3

Thanks & Regards  
Chandu

---

<div class="post-metadata">

**Author:** ![chandu4ruby](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/df788c/32.png) [@chandu4ruby](https://www.ruby-forum.com/u/chandu4ruby)\
**Post date:** [November 11, 2008, 4:12am UTC](https://www.ruby-forum.com/t/problem-starting-mongrel/153004/2 "2008-11-11T04:12:21Z")

</div>

Chandu  
Looks to me like your webrick process is still running on port 3000 and  
mongrel therefore cannot bind to port 3000.

I suggest you shutdown webrick first or specify a different port.

regards

Greg

On Tue, Nov 11, 2008 at 11:48 AM, Chandu C.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)wrote:

> =\> Ctrl-C to shutdown server  
> from /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:93:in  
> `cloaker\_’  
> from /Library/Ruby/Site/1.8/rubygems/custom\_require.rb:27:in  
> removed\_email\_address@domain.invalid  
> [http://rubyforge.org/mailman/listinfo/mongrel-users](http://rubyforge.org/mailman/listinfo/mongrel-users)

–  
regards

Greg

“It’s not about the fish.” – unknown
