[Twisted-Python] Can browse, but getPage() fails on localhost address

Maarten ter Huurne maarten at treewalker.org
Thu Oct 29 11:10:25 MDT 2009


On Thursday 29 October 2009, Steve Steiner (listsin) wrote:

> I can browse to either URL in any browser, getPage() works fine on the
> external address, 404's on the localhost address.

Does the same thing happen with "127.0.0.1" instead of "localhost" in the 
URL? I once encountered a nasty setup where a machine itself did not have 
"localhost" in /etc/hosts and the DNS server returned the IP address of 
another machine on the network...

Bye,
		Maarten




More information about the Twisted-Python mailing list