Back to Directory
Python HTTP Server
Simple HTTP server command using Python.
Customize the parameters below to generate your target command. Use the preview box to verify syntax and click the clipboard icon to copy.
Configure Options
Generated Command
bash - CommandsLab
$ python3 -m http.server 8080Command Breakdown
- Tool:Python HTTP Server — Simple HTTP server command using Python.
- Port:8080
- Directory:. — The directory to serve (-d)
About this tool
The http.server module is a simple HTTP server that can be used to serve files from a directory.
Pro Tip: Focus on understanding the core options first. You can use the generated command directly in your terminal, and view the Command Breakdown above to see what each flag does.