~/Blog

Brandon Rozek

Photo of Brandon Rozek

PhD Student @ RPI studying Automated Reasoning in AI and Linux Enthusiast.

Quick Python: HTTP Server

Published on

Updated on

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.

Reply via Email Buy me a Coffee
Was this useful? Feel free to share: Hacker News Reddit Twitter