Start a Local Server with Python3
Python3 changed the SimpleHTTPServer
. To use it, see as followed:
Open
cmd
on the folder you would like to start a serverStart a server:
1
python -m http.server 90
Check your local network address:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22C:\>ipconfig
Windows IP Configuration
Wireless LAN adapter Wi-Fi:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : eduroam.mwn.de
Wireless LAN adapter Local Area Connection* 2:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Ethernet adapter Ethernet 2:
Connection-specific DNS Suffix . : tum.de
Link-local IPv6 Address . . . . . : *****************
IPv4 Address. . . . . . . . . . . : 10.162.**.***
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.162.**.***Open local server
Take your IPv4 address, open in your browser:1
http://10.162.**.***:90/