From: max herrera Date: 2012-10-21T10:40:27+09:00 Subject: Re: Socket help, getting Errno::ECONNREFUSED Arlen Cuss wrote in post #1080557: > That's trying to connect to port 2000 on localhost, but nothing's > listening there. You'll need a service listening on the port before you > can connect to it. Thank you Arlen. I thought that what was the purpose of TCPSocket.open(hostname, port). -- Posted via http://www.ruby-forum.com/.