This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Shane Smith
Recipients Shane Smith, jaraco, xtreak
Date 2020-01-04.20:21:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1578169292.78.0.541593730383.issue39211@roundup.psfhosted.org>
In-reply-to
Content
For the basic invocation:

>python -m http.server 8080
Serving HTTP on :: port 8080 (http://[::]:8080/) ...

It just sits there, because I can't access it (http://[::]:8080/ is not a valid address, so far as I know, and inserting my IP address doesn't find it either).  If I bind it to an IP address, it works as expected (using 127.0.0.1 from the docs, for the sake of consistency).  For the following messages, I'm starting up the server in my user directory, browsing to http://127.0.0.1:8080/ in Chrome, and following the Documents link.

>python -m http.server 8080 --bind 127.0.0.1
Serving HTTP on 127.0.0.1 port 8080 (http://127.0.0.1:8080/) ...
127.0.0.1 - - [04/Jan/2020 15:15:18] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [04/Jan/2020 15:15:18] code 404, message File not found
127.0.0.1 - - [04/Jan/2020 15:15:18] "GET /favicon.ico HTTP/1.1" 404 -
127.0.0.1 - - [04/Jan/2020 15:15:28] "GET /Documents/ HTTP/1.1" 200 -
History
Date User Action Args
2020-01-04 20:21:32Shane Smithsetrecipients: + Shane Smith, jaraco, xtreak
2020-01-04 20:21:32Shane Smithsetmessageid: <1578169292.78.0.541593730383.issue39211@roundup.psfhosted.org>
2020-01-04 20:21:32Shane Smithlinkissue39211 messages
2020-01-04 20:21:32Shane Smithcreate