4 ms·
cd /some/dir && python -m http.server 8080
by dark-star 2y ago
cd /some/dir && python -m http.server 8080
- __fst__ 2y agopython3 -m http.server -d /path/to/dir
- rad_gruchalski 2y agoDon’t forget 8080. http.server binds on port 8000 by default :].
- globular-toast 2y agoWhy is 8080 more likely to be available than 8000?
- rad_gruchalski 2y agoDon’t worry, it’s a misunderstanding.
- disambiguation 2y agodocker pull nginx
- enriquto 2y agomini_httpd -p 8080 # and no need to install a whole python interpreter
- em-bee 2y agomost people will have python installed already, but not mini_httpd.