From: Armin Roehrl Date: 2001-10-07T06:01:26+09:00 Subject: [ruby-talk:22168] Re: dRuby, Linux and ports hi, it works on my machine(s). What port are you using? If you want me to try it, email me the code. Try this: -- i.e. on port 9000 (try sth. > 1024) 1st try it on the same machine (localhost) then replace localhost by whatever the name(s) are. server: require 'drb' class TestServer def doit "Hello, Distributed Ruby World" end end aServerObject = TestServer.new DRb.start_service('druby://localhost:9000', aServerObject) DRb.thread.join client: require 'drb' DRb.start_service() obj = DRbObject.new(nil, 'druby://localhost:9000') p obj.doit Ciao, A On Saturday 06 October 2001 21:42, you wrote: > Has anyone gotten dRuby working on a Linux network? > What I'm finding is that I always get a "Connection Refused" exception. > I'm thinking that this is due to ports being blocked. I've tried turning > off all firewalling, but it didn't help. Has anyone had this problem on a > Linux network? Previously, I had dRuby working on a Windows network at > work - I suspect this is because the various Windows varients have fairly > lax security. > > I've got three PCs: > 1) Runs Mandrake 8.1 > 2) Runs Progeny Linux 1.0 > 3) Runs Mandrake 7.1 > > Any ideas? > > Phil -- Armin. ----------------------------------------------- Armin Roehrl, http://www.approximity.com public-key: http://www.approximity.com/pgp/armin_roehrl.pgp "The best way to predict the future is to invent it." --Alan Kay