[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 05:46:46 EST 2017


Yes chart.html is listed but when clicked it, the page doesn't show anything. Just blank.In command prompt, the message after i clicked chart.html is like this:Serving HTTP on 0.0.0.0 port 8000....192.168.100.6 - - [27/Feb/2017 17.36.53] "GET / HTTP/1.1" 200 - 

    On Monday, 27 February 2017, 17:40, Allan Tanaka <allantanaka11 at yahoo.com> wrote:
 

 After typing python -m SimpleHTTPServer 8000 in CMD then i proceed to my google chrome and type http://allan-pc:8000/
That's where Directory listing for/
Then i proceed to http://allan-pc:8000/chart.html No chart image whatsoever...Blank webpageIn command prompt, the message after i type python -m SimpleHTTPServer 8000 is:Serving HTTP on 0.0.0.0 port 8000....192.168.100.6 - - [27/Feb/2017 17.36.53] "GET / HTTP/1.1" 200 -

 

    On Monday, 27 February 2017, 17:25, Alan Gauld via Tutor <tutor at python.org> wrote:
 

 On 27/02/17 10:13, Allan Tanaka via Tutor wrote:
> I have changed the syntax to be python -m SimpleHTTPServer 8000 
> to match my  ml python script. Still it doesn't work?

Define "doesn't work"?

What happens? Do you see an error message - if so which one?
What happens if you use the base url?

http://0.0.0.0:8000

Do you get a list of files?
Is your chart.html listed? What happens if you click on the link?

The more specific information you give us the easier it is
for us to help you.

> Scracthing my head...See attached file for screenshoots

This is a text  based server it strips out binary
attachments as potential security risks. Cut 'n
paste the text instead.

-- 
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