From: "Jon A. Lambert" Date: 2003-12-03T11:08:30+09:00 Subject: Re: TCPSocket -> Wrong error on Windows? "Stephan K�mper" wrote: > Sorry for not giving this info right away: > > ruby 1.8.0 (2003-08-04) [i386-mswin32] > irb(main):001:0> require "socket" => true irb(main):002:0> session = TCPSocket.new('localhost',12345) Errno::ECONNREFUSED: No connection could be made because the target machine actively refused it. - connect(2) from (irb):2:in `initialize' from (irb):2:in `new' from (irb):2 irb(main):003:0> irb(main):006:0> RUBY_VERSION => "1.8.1" irb(main):007:0> RUBY_PLATFORM => "i386-mswin32" irb(main):008:0> RUBY_RELEASE_DATE => "2003-10-31" This is running 1.8.1-preview2 under Windows XP.