Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple HTTP request handler #9

ivyWANG958 opened this Issue Feb 27, 2019 · 0 comments


None yet
2 participants
Copy link

ivyWANG958 commented Feb 27, 2019

Use SimpleHTTPServer for request handler in Terminal.

local Terminal


$ cd 馃憠[path to working folder here]
$ python -m SimpleHTTPServer


Serving HTTP on port 8000 ...

Open browser and input:


VS code

Find Terminal on the navigation bar and open new terminal.

Follow the steps above, no need to change direction at this time.

change port

corresponding input change to: python -m SimpleHTTPServer 8080

For python3

corresponding input change to: python3 -m http.server or python -m http.server


SimpleHTTPServer is not recommended for production. It only implements basic security checks.

@hupili hupili added the tips label Mar 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can鈥檛 perform that action at this time.