From: Geert Fannes Date: 2006-05-06T04:25:32+09:00 Subject: Re: dRuby connection refused between two different machines ------_=_NextPart_001_01C67079.AB12C53C Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Do you remember if you had problems connecting to the server machine = (since I CAN connect to the server since the server writes out = "receiving something" when I call the receiveSomething method from the = client). My problem occurs when passing object by reference to different = machines and calling methods on this object. Greetings, Geert. -----Original Message----- From: Jamey Cribbs [mailto:cribbsj@oakwood.org] Sent: Fri 5/5/2006 3:17 PM To: ruby-talk ML Subject: Re: dRuby connection refused between two different machines =20 Geert Fannes wrote: > If I start the server code on a DIFFERENT machine (same OS (slackware = 10.2),=20 > same ruby version (1.8.4)) and replace "localhost" with the server = machine=20 > name in the client code, the server gives as output: > > receiving something > > and the client crashes with this message: > > (druby://ivon:1234) /usr/local/lib/ruby/1.8/drb/drb.rb:733:in `open':=20 > druby://localhost:32816 - # connect(2)> (DRb::DRbConnError) > =20 I had a similar problem about 6 months ago and ... crap! I can't=20 remember what I did to fix it! I seem to remember having to change something in the /etc/hosts file on=20 my client pc to get it to work. Sorry I can't be more specific; I think = the brain cells that were holding that memory must have died off. If I can remember what I did, I will email you. Jamey Cribbs Confidentiality Notice: This email message, including any attachments, = is for the sole use of the intended recipient(s) and may contain = confidential and/or privileged information. If you are not the intended = recipient(s), you are hereby notified that any dissemination, = unauthorized review, use, disclosure or distribution of this email and = any materials contained in any attachments is prohibited. If you receive = this message in error, or are not the intended recipient(s), please = immediately notify the sender by email and destroy all copies of the = original message, including attachments. ------_=_NextPart_001_01C67079.AB12C53C--