From: ts Date: 2001-02-20T00:17:53+09:00 Subject: [ruby-talk:11106] Re: TCPSocket.open() lasts 2 minutes (was: rwiki *hangs* in send()) >>>>> "C" == Clemens Wyss writes: C> wys@helbling.ch (Clemens Wyss) wrote in : >> My (easy) testscript looks like this: >> require 'socket' >> soc = TCPSocket.open("localhost", 8470) >> soc.close() >> C> ...on the other hand "127.0.0.1" (instead of "localhost") finishes C> immediately. Verify that you don't have a problem with your DNS, see the file /etc/host.conf (resolver configuration file) or similar Guy Decoux