C:\Users\imedia1\applica>ruby script/server
=> Booting WEBrick
=> Rails 2.3.5 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2010-01-25 13:45:26] INFO WEBrick 1.3.1
[2010-01-25 13:45:26] INFO ruby 1.8.6 (2008-08-11) [i386-mswin32]
[2010-01-25 13:45:26] WARN TCPServer Error: Only one usage of each
socket address (protocol/network address/port) is normally permitted.
- bind(2)
Exiting
C:/Ruby/lib/ruby/1.8/webrick/utils.rb:73:in `initialize': Only one
usage of each socket address (protocol/network address/port) is
normally permitted. - bind(
ADDRINUSE)
from C:/Ruby/lib/ruby/1.8/webrick/utils.rb:73:in `new'
from C:/Ruby/lib/ruby/1.8/webrick/utils.rb:73:in
`create_listeners'
from C:/Ruby/lib/ruby/1.8/webrick/utils.rb:70:in `each'
from C:/Ruby/lib/ruby/1.8/webrick/utils.rb:70:in
`create_listeners'
from C:/Ruby/lib/ruby/1.8/webrick/server.rb:75:in `listen'
from C:/Ruby/lib/ruby/1.8/webrick/server.rb:63:in `initialize'
from C:/Ruby/lib/ruby/1.8/webrick/httpserver.rb:24:in
`initialize'
from C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/
handler/webrick.rb:10:in `new'
from C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/
handler/webrick.rb:10:in `run'
from C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/commands/
server.rb:111
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
31:in `gem_original_require'
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
31:in `require'
from script/server:3
--
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 rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Notice that error. It looks like something else is running on port
3000. Run Webrick on some other port.
Best,
--
Marnen Laibow-Koser
http://www.marnen.org
mar...@marnen.org
--
Posted via http://www.ruby-forum.com/.
netstat
This will show you what is currently open.