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

2 komentar:

Thanks For Your Feedback.