From: John W Higgins Date: 2010-04-02T01:22:23+09:00 Subject: Re: Bind NICs to Mechanize --000e0cd5c638ba6e4c04832f2ad4 Content-Type: text/plain; charset=ISO-8859-1 Morning, On Thu, Apr 1, 2010 at 12:19 AM, John Yuan wrote: > Thank you, Thank you, Mr. John W Higgins for very quick response. > > About Curl, I could not proceed there yet, but as far as curl and rack > gem installation, it was smooth and I did not see any problem. > > > 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 > > I tested with FireFox ; > > request: http://localhost:81/ > respose: hello world: > Are you running a web server on this system? Does firefox return anything for http://localhost:80 ? If so then that is the problem - you will need to change the port in the example from 80 to something else. I might have misread your issue last night. So if you changed the proxy's port from 80 to lets say 82 then look at http://localhost:82 you should be getting the response from the proxy. John --000e0cd5c638ba6e4c04832f2ad4--