<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>I can browse to either URL in any browser, getPage() works fine on the external address, 404's on the localhost address.</div><div><br></div><div>Any insight greatly appreciated; this is about as simple a test case as there can be and I'm mystified as to why it's not working. &nbsp;Of course, that probably means I'll feel like a complete moron when someone clops me on the head with the answer, but I can deal with that...</div><div><br></div><div>Thanks,</div><div><br></div><div>S</div><div><br></div><div>Just in case it gets mutilated by mail:</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span><a href="http://pastebin.com/d2f80ce0a">http://pastebin.com/d2f80ce0a</a><div><br></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: 12px; white-space: pre-wrap; ">from twisted.web import client

def showPage(pageData):
    print pageData
    reactor.stop()

def handleError(failure):
    print "Error:", failure.getErrorMessage()
    failure.printDetailedTraceback()
    reactor.stop()

if __name__ == "__main__":
    from twisted.internet import reactor
    # postRequest = client.getPage("http://localhost/w3c-validator/check")
    postRequest = client.getPage("http://validator.w3.org/check")
    postRequest.addCallback(showPage).addErrback(handleError)
    reactor.run()</span></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 12px; white-space: pre-wrap;"><br></span></font></div><div><font class="Apple-style-span" face="'Lucida Grande'" size="3"><span class="Apple-style-span" style="font-size: 12px; white-space: pre-wrap;"><br></span></font></div></div></body></html>