From: Lou Vanek Date: 2005-12-21T04:42:34+09:00 Subject: Re: Difficulty opening a socket telnet localhost 8080 this should indicate what's listening, if anything. Caleb Tennis wrote: > 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