website/content/blog/quickpythonhttp.md

418 B

title date draft tags medium_enabled
Quick Python: HTTP Server 2020-04-18T17:15:09-04:00 false
Python
true

You can use Python to quickly spin up a HTTP server. A common use case for me is to quickly transfer files to mobile devices in my internal network.

python -m http.server

This will likely start an HTTP server on port 8000 on your machine listening to all network interfaces.