I wrote the original version of this "simple web server" app (https://chromewebstore.google.com/detail/web-server-for-chro...) because the built-in python http server is a bit buggy. It would hang on some connections when loading a webpage with a lot of small assets.
I was surprised how many people found it useful. More so when Chrome web apps were supported on other platforms (mac/linux/windows).
127.0.0.1 means "self" in IP. Presumably that means that it if you browse to your IP address from your computer it will work, but from your phone it will not.
I usually do the opposite - 0.0.0.0 - which allows connections from any device.
kzahel|10 months ago
Imustaskforhelp|10 months ago
and I used this. Though I would prefer a way to keep it downloading from where it left because this method ISNT reliable for 40 gigs transfer
I am also wondering about this comment in the gist which was linked (gist.github.com/willurd/5720255) by olejorgenb which is
Limiting request to a certain interface (eg.: do not allow request from the network)
python -m http.server --bind 127.0.0.1
Like what does that really do? Maybe its also nice, IDK?
bsimpson|10 months ago
I usually do the opposite - 0.0.0.0 - which allows connections from any device.