From: Torsten Schmidt Date: 2005-12-02T22:13:22+09:00 Subject: Re: url-monitoring script question ------=_Part_30140_12763354.1133529195660 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline i've already tried this, but i only get an timout-error which is handled in my first rescue statement. 2005/12/2, Neil Kohl : > > You should be able to get a connection refused by trying to connect to an > unused port. For example, if your "real" url is > http://testing.com/test/url/then try > http://testing.com:81/test/url/. As long as there's no web server running > on > port 81, you should get a connection refused error. > > -- > Neil Kohl > nakohl@gmail.com > > On 12/2/05, Torsten Schmidt wrote: > > > > > > Any ideas how to reproduce a connection-refused error or suggestions > > if my > > rescue Exception can handle this? > > > > (sorry for my bad english) > > > > Regards, > > Torsten > > > > > > ------=_Part_30140_12763354.1133529195660--