From: Chris Schlaeger Date: 2010-04-23T02:32:55+09:00 Subject: [ruby-core:29733] Re: [Bug #3052] DRb::start_service fails to detect used port On Thu, Apr 22, 2010 at 6:58 PM, Yusuke ENDOH wrote: > This may be side effect of ipv6 support of ext/socket. > What's printed by: > > �require "socket" > �p TCPServer.new("localhost", 1234).addr > �p TCPServer.new("localhost", 1234).addr > > ? > > If the result is, for example: > > �["AF_INET6", 1234, "::1", "::1"] > �["AF_INET", 1234, "127.0.0.1", "127.0.0.1"] # ruby19 socket-ipv6.rb ["AF_INET6", 1234, "localhost", "::1"] ["AF_INET", 1234, "localhost", "127.0.0.1"] # host localhost localhost has address 127.0.0.1 Hope that helps. I can run more tests if needed. Chris