From: John W Higgins Date: 2010-04-01T13:06:38+09:00 Subject: Re: Bind NICs to Mechanize --000e0cd72a54ea5324048324fcdc Content-Type: text/plain; charset=ISO-8859-1 Evening, If you wish to run the example as is you need to run all three lines ruby examples/appserver.rb 81 - this runs a webserver which is referenced in line 4 of the line_interceptor example as the final destination. Think of it as a tiny tiny version of the webserver you are trying to connect to. ruby examples/line_interceptor.rb - this fires up the proxy - the error you are getting is that it is trying to connect to the server started just above which you are I'm guessing not running curl localhost - this uses curl to make a request that hits the proxy that then sends the request off to the appserver.rb to get the response - modifies the result and returns it to you. You will need rack installed to have appserver.rb work. Hope this helps move you along...... John --000e0cd72a54ea5324048324fcdc--