How to make simple HTTP server using Python Get link Facebook X Pinterest Email Other Apps - April 11, 2015 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 Get link Facebook X Pinterest Email Other Apps Comments AnonymousApril 25, 2015 at 1:05 AMpython -m SimpleHTTPServer 80to 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 privilegesReplyDeleteRepliesReplyAdd commentLoad more... Post a Comment
python -m SimpleHTTPServer 80
ReplyDeleteto 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