From: Jason DiCioccio Date: 2003-01-22T07:55:11+09:00 Subject: TCPServer only binding to INET6 interfaces? Under FreeBSD 5.0-RELEASE running ruby 1.6.8, the following code: ---- require 'socket' server = TCPServer.new(9999) client = server.accept ---- only seems to bind to port 9999 on ipv6 interfaces. % netstat -an | grep 9999 tcp6 0 0 *.9999 *.* LISTEN % It works, however, when I specify a host to bind to. It only fails when trying to use INADDR_ANY.. I cannot tell for sure whether this is due to changes in FreeBSD, ruby, or a combination of both. However, my guess would be ruby since I have many daemons binding to INADDR_ANY and running fine. Is anyone else running BSD (or perhaps other OS') with IPv6 support still in the kernel able to duplicate this problem? Thanks in advance, -JD-