Message359308
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 - |
|
Date |
User |
Action |
Args |
2020-01-04 20:21:32 | Shane Smith | set | recipients:
+ Shane Smith, jaraco, xtreak |
2020-01-04 20:21:32 | Shane Smith | set | messageid: <1578169292.78.0.541593730383.issue39211@roundup.psfhosted.org> |
2020-01-04 20:21:32 | Shane Smith | link | issue39211 messages |
2020-01-04 20:21:32 | Shane Smith | create | |
|