Python web server weirdness

Grant Edwards grant.b.edwards at gmail.com
Thu Jun 7 09:44:26 EDT 2018


On 2018-06-07, Steven D'Aprano <steve+comp.lang.python at pearwood.info> wrote:
> I'm following the instructions here:
>
> https://docs.python.org/3/library/http.server.html
>
>
> and running this from the command line as a regular unprivileged user:
>
> python3.5 -m http.server 8000
>
> What I expected was a directory listing of my current directory.
>
> What I got was Livejournal's front page.

That's very odd. What I get is the message below:

$ python3.5 -m http.server 8000
Serving HTTP on 0.0.0.0 port 8000 ...

-- 
Grant Edwards               grant.b.edwards        Yow! I invented skydiving
                                  at               in 1989!
                              gmail.com            




More information about the Python-list mailing list