From: Ross Bamford Date: 2005-12-02T22:47:32+09:00 Subject: Re: url-monitoring script question On Fri, 02 Dec 2005 13:13:22 -0000, Torsten Schmidt wrote: > 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. >> > 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"