Serve the current directory on port 8000, loopback only
Starts Python's built-in static file server on port 8000. The --bind flag restricts it to the loopback interface so only this machine can reach it, which is safer than the default 0.0.0.0 binding that exposes the folder to the local network. Press Ctrl+C to stop.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.