------ art_30501_244094.1133532948944 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline thanks Ross, that was it. the rescue works. 2005/12/2, Ross Bamford <rosco / roscopeco.remove.co.uk>: > > On Fri, 02 Dec 2005 13:13:22 -0000, Torsten Schmidt <torstello / gmail.com> > wrote: > > 2005/12/2, Neil Kohl <nakohl / gmail.com>: > >> > >> 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. > >> > > i've already tried this, but i only get an timout-error which is handled > > in > > my first rescue statement. > > > > Unused ports will timeout - for active refusal, try a firewalled port. > 84.92.85.107, any port, should refuse you if you don't have anything > handy. > > -- > Ross Bamford - rosco / roscopeco.remove.co.uk > "\e[1;31mL" > > ------ art_30501_244094.1133532948944--