On Nov 11, 11:56 am, Chandu Chandu <[EMAIL PROTECTED]>
wrote:
> 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 by name
> iphone configuration utility
> i am unable to attach the screen shot as it is saying file to large.
> Error which i get in terminal is listed below
>
> => Booting Mongrel (use 'script/server webrick' to force WEBrick)
> => Rails application starting onhttp://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)

You already have a program listening on port 3000 probably an earlier
webrick or mongrel.  If you didn't detach it, then find it and stop
it.
If it's detached you need to find its pid and kill it.
I'm not sure what system you're using; to see what's running on port
3000 try:
netstat -4np  (linux)
sockstat -4   (bsd)
netstat -nb (windows - there's probably a better way here, I don't use
windows for rails)
Get the pid from the listing and kill it if it's ok to do that.

--
Daniel Bush
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to