ruby on rails - start mongrel server in terminal -


if start mongrel error come. can do? tell me way start mongrel please...

$script/server mongrel  => booting mongrel (use 'script/server webrick' force webrick) => rails 2.2.2 application starting on http://0.0.0.0:3000 => call -d detach => ctrl-c shutdown server ** starting mongrel listening @ 0.0.0.0:3000 exiting /usr/lib/ruby/1.8/mongrel/tcphack.rb:12:in `initialize_without_backlog': address in use - bind(2) (errno::eaddrinuse)     /usr/lib/ruby/1.8/mongrel/tcphack.rb:12:in `initialize'     /usr/lib/ruby/1.8/mongrel.rb:93:in `new'     /usr/lib/ruby/1.8/mongrel.rb:93:in `initialize'     /usr/lib/ruby/1.8/mongrel/configurator.rb:139:in `new'     /usr/lib/ruby/1.8/mongrel/configurator.rb:139:in `listener'     /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:99:in `cloaker_'     /usr/lib/ruby/1.8/mongrel/configurator.rb:50:in `call'     /usr/lib/ruby/1.8/mongrel/configurator.rb:50:in `initialize'      ... 19 levels...     /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/server.rb:49     /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'     /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'     script/server:3  kingston 

the error means have other server running on port 3000. either quit server or start mongrel on port.

$ script/server mongrel -p 3001 

Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -