How to make simple HTTP server using Python

Here is the way ....


1.


2. Keep the file on Python Folder.
3. Type http://localhost:8000 on your browser
4. Surf on local machine


Comments

  1. python -m SimpleHTTPServer 80
    to start a simple HTTP server.

    Replace 80 with another number if you want it to listen on a different port. For ports < 1024 it needs to run with root privileges

    ReplyDelete

Post a Comment

Popular posts from this blog

পিৎজা এবং বই

How to Download Video from Youtube - The Easiest way