On Fri, 2006-05-05 at 20:27 +0900, Geert Fannes wrote:
> Hello, I have been playing with dRuby and am getting strange differences with 
> passing DRbUndumped-objects from a client machine to a DIFFERENT server and 
> calling methods on this object:
>  [... snipped ...]
> and the client crashes with this message:
> 
> (druby://ivon:1234) /usr/local/lib/ruby/1.8/drb/drb.rb:733:in `open': 
> druby://localhost:32816 - #<Errno::ECONNREFUSED: Connection refused - 
> connect(2)> (DRb::DRbConnError)

Two possibilities you might check:

1) Are the proper ports open on both machines? Is the firewall setup
right (maybe a bit obvious, sorry if you've already checked that)?

2) Did you call DRb.start_service in the *client* as well as the server,
which you need to do for certain types of DRbUndumped callback stuff. I
think you can usually just call it without any arguments at the client
side.

Hope that helps,
-- 
Ross Bamford - rosco / roscopeco.REMOVE.co.uk