~/Blog

Brandon Rozek

Photo of Brandon Rozek

PhD Student @ RPI, Writer of Tidbits, and Linux Enthusiast

Quick Python: HTTP Server

Published on

Updated on

Warning: This post has not been modified for over 2 years. For technical posts, make sure that it is still relevant.

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.


Have any questions or want to chat: Reply via Email

Enjoyed this post?

Published a response to this? :