On Friday, April 15, 2016 at 3:04:09 PM UTC-4, Pierre Quentel wrote: > Le jeudi 14 avril 2016 22:50:33 UTC+2, wrh...@gmail.com a écrit : > > On Thursday, April 14, 2016 at 2:23:36 PM UTC-4, Andrew Farrell wrote: > > > What happens when you type > > > > > > http://localhost:8000 > > > > > > Into the address bar of your browser as this is running? > > > > > > On Thu, Apr 14, 2016 at 12:46 PM, <wrh8...@gmail.com> wrote: > > > > > > > Hi, > > > > > > > > I am working on window 7 and Python 3.5 to setup a localhost:8000 but it > > > > did not get through as shown below: > > > > > python -m http.server > > > > Serving HTTP on 0.0.0.0 port 8000 ... > > > > > > > > But it did not show the results. > > > > > > > > Can someone help me how to setup the localhost? > > > > > > > > Thanks, > > > > Wen-Ruey > > > > > > > > -- > > > > https://mail.python.org/mailman/listinfo/python-list > > > > > > > > hi Andrew, > > > > Yes. after I type http:\\localhost:8000, the browser did not show anything > > except a empty page without any errors. > > > > Thanks, > > Wen-Ruey > > Hi, > > When you type http://localhost:8000, do you see something in the console > after the line "Serving HTTP on 0.0.0.0 port 8000 ..." ? > > If the server actually serves requests on port 8000 you should see a log > message such as > > 127.0.0.1 - - [15/Apr/2016 20:57:32] "GET / HTTP/1.1" 200 - Hi Pierre,
When I type http://localhost:8000, I did not see anything in the console after the line "Serving HTTP on 0.0.0.0 port 8000 ... I believe the way I ran was not correct as shown below: > python -m http.server Serving HTTP on 0.0.0.0 port 8000 ... Also if I use internet Explorer, it shows HTTP 404 errors. Do you think the way I am doing of the localhost:8000 setting was not correct? Thanks, Wen-Ruey -- https://mail.python.org/mailman/listinfo/python-list