localhost, ?!

Bjoern Schliessmann usenet-mail-0306.20.chr0n0ss at spamgourmet.com
Tue Aug 28 21:36:15 CEST 2007

Boris Ozegovic wrote:

> At job:
> urllib2.urlopen("http://localhost")
> raise BadStatusLine(line), after half a minute.

Looks like name resolving problems.
> urllib2.urlopen("")
> HTTP Error 503: Service Unavailable, immediately.

Definitely a problem with the web server (503 means "service
> Anybody have slightest clue wthat is going on?  :-/

Try using wireshark or a similar tool to see what's going on on
protocol level.



BOFH excuse #103:

operators on strike due to broken coffee machine

More information about the Python-list mailing list