From: Roger Pack Date: 2010-04-28T02:00:15+09:00 Subject: Re: Ruby networking: Errno::ECONNREFUSED: Connection refused - connect(2) on Ubuntu 9.1 > dts = TCPServer.new('localhost', 9900) If you want to be able to connect to it on more than just 'localhost' / '127.0.0.1' then bind to '0.0.0.0' (or to nil or '' -- which are aliases for the same). GL. -rp -- Posted via http://www.ruby-forum.com/.