Back to Tutorials
Tips6/8/2025

Lightweight HTTP Web Server - SimpleHTTPServer

lightweight serverpythonsimplehttpserversmall serverwebserver

Hi, here comes my fist tip !

Just a small one to let you know about an awesome tiny webserver : SimpleHTTPServer. You can simply run it like this from the directory you want to access :

python -m SimpleHTTPServer 8000

with the port number of your choice.

Hope it helps :)

Tibo

Comments

Loading comments...

Level Up Your Dev Skills & Income 💰💻

Learn how to sharpen your programming skills, monetize your expertise, and build a future-proof career — through freelancing, SaaS, digital products, or high-paying jobs.

Join 3,000+ developers learning how to earn more, improve their skills, and future-proof their careers.

Lightweight HTTP Web Server - SimpleHTTPServer | Devmystify