[Twisted-web] A small getPage problem accessing localhost on Vista

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Sat Jun 5 12:30:07 EDT 2010

On 1 Jun, 10:16 pm, jannico at gmx.de wrote:
>Dear Twistonistas,
>I am using 10.0.0 for 2.5 on a Vista Home 'Premium' (yes, yes, I know).
>I am accessing some page with getPage(certain_url,method='GET').
>Accessing works for non-local urls. Accessing does not work for 
>"http://localhost:8080/..." - windows error 10061: connection refused 
>(abbreviated from partially localized error message).
>This propably sounds like a firewall problem, but all three firewall 
>profiles disabled, only the 'native' windows vista firewall installed, 
>so it shouldn't be one, I hope.
>When using a synchronous urllib.urlopen('http://localhost:8080/...') / 
>read() pair, it works.
>This makes me nervous somehow, I must admit. Perhaps you have any hint 
>/ idea what the problem might be? This would be most welcome!
>Btw.: The line " localhost" is in the host file in 
>Thank you very much in advance!

Sorry, I don't have anything to suggest.  I hope that when you figure 
this out, though, you'll let us know what the problem was, and if 
necessary file a ticket in the issue tracker.


More information about the Twisted-web mailing list