Created
November 21, 2014 12:32
-
-
Save Shane24/8c9535047fabeb17caaa to your computer and use it in GitHub Desktop.
Simple python server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Open up a terminal and: | |
| $ cd /home/somedir | |
| $ python -m SimpleHTTPServer | |
| Server will start in port 8000. You will get the message: | |
| Serving HTTP on 0.0.0.0 port 8000 ... | |
| Now open a browser and type the following address: | |
| http://192.168.1.2:8000 or http://127.0.0.1:8000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment