[Tutor] [Python 2.7] HELP: Serving HTTP on 0.0.0.0 port 80 not proceeding
Allan Tanaka
allantanaka11 at yahoo.com
Mon Feb 27 06:22:15 EST 2017
- And did you see chart.html in that listing?
Yes it's there
- How did you "proceed"?
Did you click the link in the directorty listing
or did you type it in by hand?
I click the link in directory listing
have you checked that chart.htm is not empty and that the html is valid?
As i click the chart.htm, it doesn't show anything. Just blank. Does it mean that i have checked chart.htm is not empty?
What happens if you hand craft an html file and try accessing that?If i type 0.0.0.0:8000/chart.html, then the error is like this:
This site can’t be reached
The webpage at http://0.0.0.0:8000/chart.html might be temporarily down or it may have moved permanently to a new web address.ERR_ADDRESS_INVALID
On Monday, 27 February 2017, 18:11, Alan Gauld via Tutor <tutor at python.org> wrote:
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
_______________________________________________
Tutor maillist - Tutor at python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
More information about the Tutor
mailing list