A Simple HTTP Web Server In Python



Solution is to make a simple web server, Python and PHP can help you. Python and PHP have been built on the HTTP web service feature. Html file, text, image and want to present it to a temporary network. This small need can be chosen by this method.

Let's do it :

1. Check version
  
2. Dir Want Share To Network
 
3. Run Phyton Command
     python2 -m SimpleHTTPServer 9000 

Here it is assumed to use port 9000, for ports that are used freely provided the trial port is not used to run other applications. Can check the availability of ports by using the `netstat` command.


If you want to execute a command behind the scenes, one of the commands uses the `nohup` command.


 
    Blogger Comment
    Facebook Comment

5 komentar:

  1. nice tutorial gan, terimakasih

    ReplyDelete
  2. I am just commenting to let you know of the perfect experience my wife's princess encountered studying your web site. She picked up numerous details, most notably what it's like to have an ideal helping character to have many more very easily gain knowledge of selected advanced subject matter. You undoubtedly exceeded our own expectations. Thanks for offering such effective, healthy, explanatory and in addition fun thoughts on this topic to Gloria. website design company san francisco

    ReplyDelete
  3. When I originally commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get four e-mails with the same comment. Is there any way you can remove people from that service? Many thanks! website designers san francisco

    ReplyDelete
  4. After study a handful of the websites with your website now, and I truly as if your strategy for blogging. I bookmarked it to my bookmark website list and will be checking back soon. Pls consider my web site likewise and make me aware if you agree. la web design

    ReplyDelete

Thanks For Your Feedback.