On May 16, 2006, at 7:51 PM, cremes.devlist / mac.com wrote: > On May 16, 2006, at 5:57 PM, Eric Hodel wrote: >> On May 16, 2006, at 12:25 PM, cremes.devlist / mac.com wrote: >>> [snip] >>> [], >>> :tcp_acl => ACL.new('allow 127.0.0.1'.split(" >>> "), ACL::ALLOW_DENY) # <-- causes failure >>> #:tcp_acl => ACL.new('allow localhost'.split >>> (" "), ACL::ALLOW_DENY) <-- works >>> # works if you replace 127.0.0.1 with localhost >> >> DRb chose to listen on the IPv6 socket, so you'll need to allow >> both 127.0.0.1 and ::1 or just use localhost. >> >> You could also try removing ::1 localhost from /etc/hosts, that >> might fix it. > > Adding "allow ::1" also makes this work. So, it appears to be a > ipv6 issue with DRb. 127.0.0.1 is not a valid IPv6 address. This was a bug in your code not handling IPv6 addresses when your OS uses them. > Any hint as to how to fix this in a permanent fashion. a) Make your DNS work for IPv4 and IPv6 and bind to both IPv6 and IPv4 addresses on your machine for interoperability. b) Never use IPv6. -- Eric Hodel - drbrain / segment7.net - http://blog.segment7.net This implementation is HODEL-HASH-9600 compliant http://trackmap.robotcoop.com