Python HTTP Server

HTTP Server

python3 -m http.server <PORT>

HTTPS Server

  • Folder structure

  • Create project/https_server.py:

  • Create a self-signed test certificate:

  • Run the server

Last updated