Simple PythonHttpServer

The following examples a simple webserver serving the current directory. Only static files are supported. No server-side scripting languages are evaluated. Simple webserves may be useful for quick local network tests or local website development purposes.

As there is no in-built support for TLS/HTTPS, starting webservers this way should never be used for production purposes.

Using Python3

Read more on Python.org.

python3 -m http.server 80

Using Python2

Read more on Python.org.

python2 -m SimpleHTTPServer 80