Results 1 to 3 of 3

Thread: Simple Server With Python

  1. #1
    Join Date
    2013-Aug
    Location
    Indonesia
    Posts
    9

    Simple Server With Python

    Step 1
    Prepare the computer that will be used as a server. IP instance my laptop which would be used as the server is 192.168.1.105

    Step 2
    Open terminal and type
    Code:
    python -m SimpleHTTPServer 3124
    if the result like this


    Means the server has been running well.

    Port 3124 may be substituted as much as long as its port is not used by another service.

    Step 3
    Furthermore, we can access its server using other computers (in a network). by typing in the browser:

    192.168.1.105:3124

    I access the server as a client from another computer with the client IP 192.168.1.106



    server displays the directory where we start to enable python,for example I show the root directory.

    Once I access the server from another computer then the terminal will display something.



    Server displays the client IP 192.168.1.106 has access to the server.

  2. #2
    Join Date
    2013-Sep
    Posts
    16

    Red face

    good Wonderful work

  3. #3
    Join Date
    2013-Sep
    Posts
    264
    Very nice topic for a simple and powerfull command, the kind of tricks you ask for more!
    Thanks Doel
    Last edited by kcdtv; 2013-09-24 at 16:49.

Similar Threads

  1. Server Installation Boot Problem on Dell 1950 III Server
    By Server in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2016-04-25, 15:12
  2. Simple way to increase TX power
    By duxim in forum How-To Archive
    Replies: 1
    Last Post: 2015-08-28, 15:09

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •