From: Caleb Tennis Date: 2005-12-21T03:40:54+09:00 Subject: Re: Difficulty opening a socket On Tuesday 20 December 2005 12:35, ra88it ra88it wrote: > When I do this: > > sock = TCPSocket.new('localhost', 8080) > > I get the the "connection refused" error: Errno::ECONNREFUSED Is there something listening on port 8080 on your local machine. Sockets are a two way beast - there has to be something at the other end willing to accept your connection. Caleb