python3 -m http.server 8080

Category: Python & pip

python3 -m http.server 8080

Start a simple HTTP file server on port 8080 in the current directory

Starts a simple web server serving the current directory's files on port 8080.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.