[Tutor] [Python 2.7] HELP: Serving HTTP on 0.0.0.0 port 80 not proceeding

Alan Gauld alan.gauld at yahoo.co.uk
Mon Feb 27 06:07:54 EST 2017


On 27/02/17 10:40, Allan Tanaka via Tutor wrote:
> After typing python -m SimpleHTTPServer 8000 in CMD 
> then i proceed to my google chrome and type http://allan-pc:8000/

OK, But to be safe I'd probably stick to 0.0.0.0 rather than your PC
name - it eliminates routing errors from the equation.

> That's where Directory listing for/

And did you see chart.html in that listing?

> Then i proceed to http://allan-pc:8000/chart.html 

How did you "proceed"?
Did you click the link in the directorty listing
or did you type it in by hand?

> No chart image whatsoever...Blank webpage

And have you checked that chart.htm is not empty
and that the html is valid?

What happens if you hand craft an html file and
try accessing that?

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Tutor mailing list