From: Andreas S Date: 2008-09-09T07:17:08+09:00 Subject: Rinda: random ECONNREFUSED error --_91b11a92-bd97-401b-9415-df0eead228d6_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I was following rinda examples from http://segment7.net/projects/ruby/drb/r= inda/ringserver.html and randomly got ECONNREFUSED: Connection refused - connect(2) error from running the list_services code.=20 I tried a variation from ringserver example as attached below. I ran it on = different machines (all Linux RedHat 2.4) with ruby 1.8.6p111+ and 1.8.7p22= . Same behavior. Eventually=2C I'll get several # errors. There is great chance that the mistake is in my code or due to the lack of my understanding=2C so I would appreciate if someone could point it out. Thanks in advance -andre > foreach i (*) # I have +- 100 files foreach? ruby client.rb foreach? end -- server.rb -- require 'rinda/tuplespace' require 'rinda/ring' include Rinda DRb.start_service RingServer.new TupleSpace.new DRb.thread.join -- service.rb -- require 'rinda/ring' include Rinda DRb.start_service RingFinger.primary.write [:service=2C "Test1"] DRb.thread.join -- client.rb -- require 'rinda/ring' include Rinda DRb.start_service puts RingFinger.primary.read([:service=2C nil])[1] _________________________________________________________________ See how Windows connects the people=2C information=2C and fun that are part= of your life. http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/= --_91b11a92-bd97-401b-9415-df0eead228d6_--